new help command, fixed queue and loop display, thumbnails and urls added to database
This commit is contained in:
15
bot.py
15
bot.py
@@ -1,15 +1,22 @@
|
||||
from discord.ext import commands
|
||||
from discord.ext import tasks
|
||||
import config
|
||||
from cogs.music.main import music
|
||||
from help import GroovyHelp # Import the new Help Cog
|
||||
|
||||
cogs = [
|
||||
music
|
||||
]
|
||||
music,
|
||||
GroovyHelp
|
||||
]
|
||||
|
||||
class Astro(commands.Bot):
|
||||
class Groovy(commands.Bot):
|
||||
def __init__(self, *args, **kwargs):
|
||||
# We force help_command to None because we are using a custom Cog for it
|
||||
# But we pass all other args (like command_prefix) to the parent
|
||||
super().__init__(*args, help_command=None, **kwargs)
|
||||
|
||||
async def on_ready(self):
|
||||
import config # Imported here to avoid circular dependencies if any
|
||||
|
||||
# Set status
|
||||
await self.change_presence(activity=config.get_status())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user