From 42e074437e26e5294a7827dc36cff6c6ae5f9a45 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Wed, 24 Jan 2024 11:57:54 -0800 Subject: [PATCH] Adding palworld /elements command --- app/cogs/palword.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 app/cogs/palword.py diff --git a/app/cogs/palword.py b/app/cogs/palword.py new file mode 100644 index 00000000..495a9e2a --- /dev/null +++ b/app/cogs/palword.py @@ -0,0 +1,28 @@ +from discord import option +from discord.ext import commands, tasks +import discord + + +if os.getenv("DRAGON_ENV") == "prod": + channel_id = 1097567909640929340 +else: + channel_id = 932476007439552522 + + +class PalWorld(commands.Cog): + def __init__(self, bot): + self.bot: commands.Bot = bot + + @commands.slash_command( + guild_ids=None, + name="elements", + description="Posts an infographic about which Pal elements are weak/strong against which", + ) + async def post_medpen_guide(self, ctx: commands.Context): + await ctx.respond( + "https://img.game8.co/3822502/5ae8382d16bd390dd19f343e87680d51.png/show" + ) + + +def setup(bot): + bot.add_cog(PalWorld(bot))