mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 09:16:19 +00:00
added 60 sec. report cooldown
This commit is contained in:
@@ -26,4 +26,9 @@ bot.run(discord_token) # run the bot
|
||||
@bot.event
|
||||
async def on_ready():
|
||||
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.watching, name="your messages to answer you"))
|
||||
debug("Bot is ready")
|
||||
debug("Bot is ready")
|
||||
|
||||
@bot.event
|
||||
async def on_application_command_error(ctx, error):
|
||||
debug(error)
|
||||
await ctx.respond(error, ephemeral=True)
|
||||
Reference in New Issue
Block a user