Removing error handler and prints from the code

This commit is contained in:
Rafael Vargas
2022-01-06 17:57:12 -04:00
parent efc1293ba0
commit 4da0472eaf
9 changed files with 36 additions and 33 deletions

View File

@@ -3,7 +3,6 @@ import discord
from config import config
from discord.ext import commands
from vulkanbot.ErrorHandler import ErrorHandler
intents = discord.Intents.default()
@@ -22,8 +21,6 @@ if __name__ == '__main__':
print("Error: No bot token!")
exit()
bot.log_error = ErrorHandler('errors')
for extension in config.INITIAL_EXTENSIONS:
try:
bot.load_extension(extension)