Added a check to make sure the reply message is sent in an existing channel.
This commit is contained in:
parent
454ce2b6fb
commit
53d5827ed9
@ -196,6 +196,7 @@ class CustomChannels(commands.Cog):
|
|||||||
|
|
||||||
await holo_user_ctx.set("customchannel", None)
|
await holo_user_ctx.set("customchannel", None)
|
||||||
|
|
||||||
|
if ctx.channel_id != custom_channel.id:
|
||||||
await ctx.respond(
|
await ctx.respond(
|
||||||
embed=Embed(
|
embed=Embed(
|
||||||
title="Канал знищено",
|
title="Канал знищено",
|
||||||
|
Loading…
Reference in New Issue
Block a user