First commit

This commit is contained in:
Rafael Vargas
2022-01-07 11:53:12 -04:00
commit 089b47fc44
19 changed files with 1666 additions and 0 deletions

22
main.py Normal file
View File

@@ -0,0 +1,22 @@
import discord
import os
from config import config
from discord.ext import commands
intents = discord.Intents.default()
intents.members = True
bot = commands.Bot(command_prefix=config.BOT_PREFIX, pm_help=True,
case_insensitive=True, intents=intents)
bot.remove_command('help')
if config.BOT_TOKEN == "":
exit()
for filename in os.listdir('./vulkan/commands'):
if filename.endswith('.py'):
bot.load_extension(f'vulkan.commands.{filename[:-3]}')
bot.run(config.BOT_TOKEN, bot=True, reconnect=True)