Added custom prefix & info
This commit is contained in:
4
main.py
4
main.py
@@ -7,6 +7,8 @@ from core import checks
|
||||
|
||||
from colorama import init, Style, Fore
|
||||
|
||||
from cogs.prefix import getPrefix
|
||||
|
||||
from discord.ext import commands
|
||||
|
||||
init(autoreset=True)
|
||||
@@ -15,7 +17,7 @@ config = Data("config").yaml_read()
|
||||
|
||||
intents = discord.Intents.default(); intents.members = True
|
||||
|
||||
bot = commands.Bot(command_prefix=config["prefix"], case_insensitive=True, help_command=None, intents=intents)
|
||||
bot = commands.Bot(command_prefix=getPrefix, case_insensitive=True, help_command=None, intents=intents)
|
||||
|
||||
@bot.event
|
||||
async def on_ready():
|
||||
|
||||
Reference in New Issue
Block a user