Log when commands are removed
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 5s
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 5s
This commit is contained in:
parent
82e49280f5
commit
f3fba710eb
1 changed files with 1 additions and 0 deletions
|
@ -234,5 +234,6 @@ if __disabled:
|
||||||
log.warning("Unknown command %r - cannot remove.", __command__name)
|
log.warning("Unknown command %r - cannot remove.", __command__name)
|
||||||
else:
|
else:
|
||||||
bot.remove_application_command(_cmd)
|
bot.remove_application_command(_cmd)
|
||||||
|
log.info("Removed command %s", __command_name)
|
||||||
|
|
||||||
bot.run(CONFIG["jimmy"]["token"])
|
bot.run(CONFIG["jimmy"]["token"])
|
||||||
|
|
Loading…
Reference in a new issue