Add what-are-matthews-bank-details-for-the-80th-time command
This commit is contained in:
parent
b9c2d2fc6c
commit
ec28e01beb
2 changed files with 12 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -310,4 +310,5 @@ pyrightconfig.json
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/python,pycharm,visualstudiocode
|
# End of https://www.toptal.com/developers/gitignore/api/python,pycharm,visualstudiocode
|
||||||
cookies.txt
|
cookies.txt
|
||||||
config.toml
|
config.toml
|
||||||
chrome/
|
chrome/
|
||||||
|
src/assets/sensitive/*
|
|
@ -242,6 +242,16 @@ class NetworkCog(commands.Cog):
|
||||||
paginator.add_line(f"Error: {e}")
|
paginator.add_line(f"Error: {e}")
|
||||||
for page in paginator.pages:
|
for page in paginator.pages:
|
||||||
await ctx.respond(page)
|
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):
|
def setup(bot):
|
||||||
|
|
Loading…
Reference in a new issue