Skip to content

Instantly share code, notes, and snippets.

View CrumblyLiquid's full-sized avatar

CrumblyLiquid CrumblyLiquid

View GitHub Profile
@CrumblyLiquid
CrumblyLiquid / error_handler.py
Created March 7, 2020 11:20 — forked from EvieePy/error_handler.py
Simple Error Handling for ext.commands - discord.py
import traceback
import sys
from discord.ext import commands
import discord
"""
If you are not using this inside a cog, add the event decorator e.g:
@bot.event
async def on_command_error(ctx, error)