From ec28e01bebd0f797161bfd3063d460597e0f1e11 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Mon, 11 Mar 2024 17:43:28 +0000 Subject: [PATCH] Add what-are-matthews-bank-details-for-the-80th-time command --- .gitignore | 3 ++- src/cogs/net.py | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 676323b..abc05f8 100644 --- a/.gitignore +++ b/.gitignore @@ -310,4 +310,5 @@ pyrightconfig.json # End of https://www.toptal.com/developers/gitignore/api/python,pycharm,visualstudiocode cookies.txt config.toml -chrome/ \ No newline at end of file +chrome/ +src/assets/sensitive/* \ No newline at end of file diff --git a/src/cogs/net.py b/src/cogs/net.py index 2d0af08..061594d 100644 --- a/src/cogs/net.py +++ b/src/cogs/net.py @@ -242,6 +242,16 @@ class NetworkCog(commands.Cog): paginator.add_line(f"Error: {e}") for page in paginator.pages: await ctx.respond(page) + + @commands.slash_command(name="what-are-matthews-bank-details-for-the-80th-time") + async def matthew_bank(self, ctx: discord.ApplicationContext): + """For the 80th time""" + f = Path.cwd() / "assets" / "sensitive" / "matthew-bank.webp" + if not f.exists(): + return await ctx.respond("Idk") + else: + await ctx.defer() + await ctx.respond(file=discord.File(f)) def setup(bot):