diff --git a/bot/ai/handle_request.py b/bot/ai/handle_request.py index e3666dd..2b48103 100644 --- a/bot/ai/handle_request.py +++ b/bot/ai/handle_request.py @@ -181,4 +181,4 @@ async def forward_to_google_api( mention_author=True, ) # Add a reaction to the reply message (if the user decides to delete it) - await reply_message.add_reaction("\U0000274C") + await reply_message.add_reaction("\U0000274c") diff --git a/bot/commands.py b/bot/commands.py index 11ed14c..f755a47 100644 --- a/bot/commands.py +++ b/bot/commands.py @@ -79,7 +79,7 @@ async def setup(bot): guild=discord.Object(id=GUILD_ID), ) async def stats( - interaction: discord.Interaction, game: Literal["iw4", "s1", "iw6", "t7", "all"] + interaction: discord.Interaction, game: Literal["s1", "iw6", "t7", "all"] ): if game == "all": stats_message = await compile_stats() @@ -120,7 +120,7 @@ async def setup(bot): response, ephemeral=False ) # Add a reaction to the reply message (if the user decides to delete it) - await reply_message.add_reaction("\U0000274C") + await reply_message.add_reaction("\U0000274c") break else: await interaction.response.send_message( diff --git a/bot/events_handlers/message_events.py b/bot/events_handlers/message_events.py index be70395..13983cf 100644 --- a/bot/events_handlers/message_events.py +++ b/bot/events_handlers/message_events.py @@ -9,7 +9,6 @@ from database import add_user_to_role BOT_LOG = 1112049391482703873 GENERAL_CHANNEL = 1110531063744303138 -FAILED_EMBED_MESSAGE = "https://cdn.discordapp.com/attachments/1112049391482703873/1375848830175547482/download_3.png" CRAZY_USER_ID = 1319364607487512658 CRAZY_URL = "https://cdn.discordapp.com/attachments/1119371841711112314/1329770453744746559/download.png" @@ -432,5 +431,5 @@ async def handle_message(message, bot): and not message.embeds and message.channel.id == GENERAL_CHANNEL ): - await message.reply(FAILED_EMBED_MESSAGE) + await message.reply("You do not have embed permissions on this server") return diff --git a/bot/events_handlers/reaction_events.py b/bot/events_handlers/reaction_events.py index 75adbfa..f73cb59 100644 --- a/bot/events_handlers/reaction_events.py +++ b/bot/events_handlers/reaction_events.py @@ -7,7 +7,7 @@ async def handle_reaction_add(reaction, user, bot): if user == bot.user: return - if reaction.emoji != "\U0000274C": + if reaction.emoji != "\U0000274c": return if reaction.message.author != bot.user: diff --git a/bot/utils.py b/bot/utils.py index 0263033..60d8935 100644 --- a/bot/utils.py +++ b/bot/utils.py @@ -27,7 +27,7 @@ async def fetch_game_stats(game: str): async def compile_stats(): - games = ["iw4", "s1", "iw6", "t7"] + games = ["s1", "iw6", "t7"] stats_message = "**Stats for all games:**\n" for game in games: data = await fetch_game_stats(game)