Log when commands are removed
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 5s

This commit is contained in:
Nexus 2024-05-01 01:28:01 +01:00
parent 82e49280f5
commit f3fba710eb
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -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"])