#Capturing all errors
1 messages · Page 1 of 1 (latest)
that doesnt seem to pick naything up?
Show your code
@commands.Cog.listener()
async def on_application_command_error(self, error):
print("error found")
channel = self.bot.get_channel(990575671958990858)
await channel.send(f"**Bot Error Found!\n\n**"
f"{error}")
waiiittt
wait no nevermind
still isnt working
And how are you defining it in your main file?
@bot.event
async def on_application_command_error(error):
print("error found")
channel = bot.get_channel(1054446789027172383)
await channel.send(f"**Bot Error Found!\n\n**"
f"{error}")
Are you using discord.Bot or commands.Bot?
Commands.bot