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
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -311,3 +311,4 @@ pyrightconfig.json
|
||||||
cookies.txt
|
cookies.txt
|
||||||
config.toml
|
config.toml
|
||||||
chrome/
|
chrome/
|
||||||
|
src/assets/sensitive/*
|
|
@ -243,6 +243,16 @@ class NetworkCog(commands.Cog):
|
||||||
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):
|
||||||
bot.add_cog(NetworkCog(bot))
|
bot.add_cog(NetworkCog(bot))
|
||||||
|
|
Loading…
Reference in a new issue