Added easter eggs (#52)

Added easter eggs of the bound to Earth variety
This commit is contained in:
Bella | Nightshade 2019-03-05 21:31:03 +09:30 committed by Astrid
parent 8f2f8d7d67
commit a98df69f67
2 changed files with 18 additions and 0 deletions

View File

@ -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()))

View File

@ -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.*")