Added easter eggs (#52)
Added easter eggs of the bound to Earth variety
This commit is contained in:
parent
8f2f8d7d67
commit
a98df69f67
@ -194,6 +194,12 @@ async def command_root(ctx: CommandContext):
|
|||||||
await misc_commands.help_root(ctx)
|
await misc_commands.help_root(ctx)
|
||||||
elif ctx.match("tell"):
|
elif ctx.match("tell"):
|
||||||
await misc_commands.tell(ctx)
|
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:
|
else:
|
||||||
raise CommandError("Unknown command {}. For a list of commands, type `pk;help commands`.".format(ctx.pop_str()))
|
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()
|
await working_msg.delete()
|
||||||
|
|
||||||
f = io.BytesIO(json.dumps(data).encode("utf-8"))
|
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"))
|
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
|
# lol error handling
|
||||||
await ctx.client.get_channel(int(channel)).send(content="[dev message] " + message)
|
await ctx.client.get_channel(int(channel)).send(content="[dev message] " + message)
|
||||||
await ctx.reply_ok("Sent!")
|
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…
Reference in New Issue
Block a user