From 500f400f19e6e32eb6ad7b8a13df0231169ec011 Mon Sep 17 00:00:00 2001 From: Gene Kogan Date: Sun, 7 Jan 2024 10:45:17 -0800 Subject: [PATCH] citydao --- src/bots/citydao/.env.example | 14 ++++++++++++++ src/bots/citydao/EdenGeneratorCog.py | 11 +++++++++++ src/bots/citydao/EdenLogosCharacterCog.py | 11 +++++++++++ 3 files changed, 36 insertions(+) create mode 100644 src/bots/citydao/.env.example create mode 100644 src/bots/citydao/EdenGeneratorCog.py create mode 100644 src/bots/citydao/EdenLogosCharacterCog.py diff --git a/src/bots/citydao/.env.example b/src/bots/citydao/.env.example new file mode 100644 index 0000000..004dd0c --- /dev/null +++ b/src/bots/citydao/.env.example @@ -0,0 +1,14 @@ +DISCORD_TOKEN= +MONGO_URI= +MONGO_DB_NAME= + +EDEN_API_URL= +EDEN_API_KEY= +EDEN_API_SECRET= +EDEN_CHARACTER_ID= + +ALLOWED_GUILDS= +ALLOWED_GUILDS_TEST= +ALLOWED_CHANNELS= + +LOGOS_URL= diff --git a/src/bots/citydao/EdenGeneratorCog.py b/src/bots/citydao/EdenGeneratorCog.py new file mode 100644 index 0000000..8eaab7f --- /dev/null +++ b/src/bots/citydao/EdenGeneratorCog.py @@ -0,0 +1,11 @@ +from discord.ext import commands +from cogs.CharacterGeneratorCog import CharacterGeneratorCog + + +class EdenCharacterGeneratorCog(CharacterGeneratorCog): + def __init__(self, bot: commands.bot) -> None: + super().__init__(bot) + + +def setup(bot: commands.Bot) -> None: + bot.add_cog(EdenCharacterGeneratorCog(bot)) diff --git a/src/bots/citydao/EdenLogosCharacterCog.py b/src/bots/citydao/EdenLogosCharacterCog.py new file mode 100644 index 0000000..ecd2f7c --- /dev/null +++ b/src/bots/citydao/EdenLogosCharacterCog.py @@ -0,0 +1,11 @@ +from discord.ext import commands +from cogs.LogosCharacterCog import LogosCharacterCog + + +class EdenLogosCharacterCog(LogosCharacterCog): + def __init__(self, bot: commands.bot) -> None: + super().__init__(bot) + + +def setup(bot: commands.Bot) -> None: + bot.add_cog(EdenLogosCharacterCog(bot))