Add Info Cog #11

Merged
cswimr merged 19 commits from info into master 2023-07-01 11:36:31 -04:00
2 changed files with 9 additions and 0 deletions
Showing only changes of commit 9bb636ee34 - Show all commits

7
cogs/info.py Normal file
View file

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

View file

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