mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 15:15:37 +01:00
Add logs
This commit is contained in:
@@ -58,6 +58,7 @@ async def add(
|
||||
return
|
||||
|
||||
if not isinstance(interaction.channel, Messageable):
|
||||
print("Not a Messageable")
|
||||
return
|
||||
|
||||
game_list_message = await interaction.channel.fetch_message(config.DISCORD_GAME_LIST_MESSAGE_ID)
|
||||
@@ -92,6 +93,7 @@ async def delete(interaction: discord.Interaction, game: str):
|
||||
return
|
||||
|
||||
if not isinstance(interaction.channel, Messageable):
|
||||
print("Not a Messageable")
|
||||
return
|
||||
|
||||
game_list_message = await interaction.channel.fetch_message(config.DISCORD_GAME_LIST_MESSAGE_ID)
|
||||
|
||||
Reference in New Issue
Block a user