initial commit

This commit is contained in:
SeaswimmerTheFsh 2023-06-21 22:06:41 -04:00
parent c0e8445135
commit 9bb636ee34
2 changed files with 9 additions and 0 deletions

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