From 2381957cd1a4cad00d17dda4b22c4e8576183a09 Mon Sep 17 00:00:00 2001 From: Luke Robles <98352913+lrobles-iterable@users.noreply.github.com> Date: Thu, 13 Oct 2022 12:37:28 -0700 Subject: [PATCH] comment out bf5 cause its dead --- app/cogs/game_apis.py | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/app/cogs/game_apis.py b/app/cogs/game_apis.py index 48558b96..c0c6afed 100644 --- a/app/cogs/game_apis.py +++ b/app/cogs/game_apis.py @@ -8,23 +8,22 @@ class Games(commands.Cog): def __init__(self, bot): self.bot: commands.Bot = bot - @commands.slash_command( - guild_ids=None, - name="bf5", - description="Query the game's API for data about a player", - ) - async def bf5(self, ctx: commands.Context, player): - import bf5 + # @commands.slash_command( + # guild_ids=None, + # name="bf5", + # description="Query the game's API for data about a player", + # ) + # async def bf5(self, ctx: commands.Context, player): + # import bf5 - try: - await ctx.defer() - embed = bf5.get_player(player) - await ctx.send_followup(embed=embed) - except Exception as e: - await ctx.send( - e - # "I encountered an error while searching for that player.\nPlease check that your player name is spelled correctly" - ) + # try: + # await ctx.defer() + # embed = bf5.get_player(player) + # await ctx.send_followup(embed=embed) + # except Exception as e: + # await ctx.send( + # "I encountered an error while searching for that player.\nPlease check that your player name is spelled correctly" + # ) @commands.slash_command( guild_ids=None,