fix channel mention
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ bot = commands.Bot(command_prefix='!', intents=intents)
|
|||||||
async def ASC(ctx):
|
async def ASC(ctx):
|
||||||
message = 'https://www.irf.se/alis/allsky/krn/latest.jpeg'
|
message = 'https://www.irf.se/alis/allsky/krn/latest.jpeg'
|
||||||
if ctx.channel.id != ID:
|
if ctx.channel.id != ID:
|
||||||
await ctx.send(f"Please keep this stuff in <{ID}>")
|
await ctx.send(f"Please keep this stuff in <#{ID}>")
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
await ctx.send(message)
|
await ctx.send(message)
|
||||||
|
|||||||
Reference in New Issue
Block a user