diff --git a/cogs/info.py b/cogs/info.py new file mode 100644 index 0000000..765ffaa --- /dev/null +++ b/cogs/info.py @@ -0,0 +1,7 @@ +import revolt +from revolt.ext import commands +from utils.embed import CustomEmbed + +class Info(commands.Cog): + def __init__(self, bot): + self.bot = bot diff --git a/main.py b/main.py index ea1783c..b95e0f5 100644 --- a/main.py +++ b/main.py @@ -7,6 +7,7 @@ import revolt from dotenv import load_dotenv from revolt.ext import commands from cogs.moderation import Moderation +from cogs.info import Info from utils.embed import CustomEmbed # This code reads the variables set in the bot's '.env' file. @@ -71,6 +72,7 @@ async def main(): async with aiohttp.ClientSession() as session: client = Client(session, token, api_url=api_url) client.add_cog(Moderation(client)) + client.add_cog(Info(client)) await client.start() asyncio.run(main())