mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Added easter eggs!
This commit is contained in:
parent
665a0b867b
commit
f05c07208a
2 changed files with 18 additions and 0 deletions
|
|
@ -194,6 +194,12 @@ async def command_root(ctx: CommandContext):
|
|||
await misc_commands.help_root(ctx)
|
||||
elif ctx.match("tell"):
|
||||
await misc_commands.tell(ctx)
|
||||
elif ctx.match("fire"):
|
||||
await misc_commands.pkfire(ctx)
|
||||
elif ctx.match("thunder"):
|
||||
await misc_commands.pkthunder(ctx)
|
||||
elif ctx.match("starstorm"):
|
||||
await misc_commands.pkstarstorm(ctx)
|
||||
else:
|
||||
raise CommandError("Unknown command {}. For a list of commands, type `pk;help commands`.".format(ctx.pop_str()))
|
||||
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ async def export(ctx: CommandContext):
|
|||
await working_msg.delete()
|
||||
|
||||
f = io.BytesIO(json.dumps(data).encode("utf-8"))
|
||||
await ctx.message.channel.send(content="Export successful! File sent in your DMs.")
|
||||
await ctx.message.author.send(content="Here you go!", file=discord.File(fp=f, filename="pluralkit_system.json"))
|
||||
|
||||
|
||||
|
|
@ -110,3 +111,14 @@ async def tell(ctx: CommandContext):
|
|||
# lol error handling
|
||||
await ctx.client.get_channel(int(channel)).send(content="[dev message] " + message)
|
||||
await ctx.reply_ok("Sent!")
|
||||
|
||||
|
||||
# Easter eggs lmao because why not
|
||||
async def pkfire(ctx: CommandContext):
|
||||
await ctx.message.channel.send("*A giant lightning bolt propmptly erupts into a pillar of fire as it hits your opponent.*")
|
||||
|
||||
async def pkthunder(ctx: CommandContext):
|
||||
await ctx.message.channel.send("*A giant ball of lightning is conjured and fired directly at your opponent, vanquishing them.*")
|
||||
|
||||
async def pkstarstorm(ctx: CommandContext):
|
||||
await ctx.message.channel.send("*Vibrant colours burst forth from the sky as meteors rain down upon your opponent.*")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue