Added custom prefix & info

This commit is contained in:
Nemika
2021-03-08 13:53:06 +02:00
parent b34c24dfc4
commit 503e4e7871
9 changed files with 131 additions and 7 deletions

View File

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