implemented general help command and command specific help
This commit is contained in:
18
bot.py
Normal file
18
bot.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from discord.ext import commands
|
||||
import config
|
||||
from cogs.music.main import music
|
||||
|
||||
cogs = [
|
||||
music
|
||||
]
|
||||
|
||||
class Astro(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 self.add_cog(cog(self))
|
||||
Reference in New Issue
Block a user