Chaging config and help to class

This commit is contained in:
Rafael Vargas
2022-03-21 21:51:40 -04:00
parent 5c4d09bf9d
commit 14705569c1
12 changed files with 287 additions and 264 deletions

View File

@@ -1,11 +1,12 @@
import discord
import os
from config import config
from config.Config import Config
from discord.ext import commands
intents = discord.Intents.default()
intents.members = True
config = Config()
bot = commands.Bot(command_prefix=config.BOT_PREFIX, pm_help=True,
case_insensitive=True, intents=intents)