fix channel mention

This commit is contained in:
Xaloc 2023-03-20 20:08:14 +01:00
parent 5e51187199
commit f7acbf2d20

View File

@ -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)