initial setup and help command

This commit is contained in:
2023-05-21 23:34:13 +01:00
parent 99384803db
commit 9569ad7ace
4 changed files with 163 additions and 0 deletions

22
main.py Normal file
View File

@@ -0,0 +1,22 @@
import discord
from discord.ext import commands
import config
import help
cogs = []
class Serenity(commands.Bot):
# Once the bot is up and running
async def on_ready(self):
# Set the status
await self.change_presence(activity=config.get_status())
# Setup commands
for cog in cogs:
await cog.setup(self)
client = Serenity(command_prefix=config.get_prefix(), intents=discord.Intents.all())
client.help_command = help.AstroHelp()
client.run(config.get_login("dev"))