more log
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s

This commit is contained in:
Nexus 2024-05-01 01:29:42 +01:00
parent f3fba710eb
commit 99ae3035d8
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -234,6 +234,10 @@ if __disabled:
log.warning("Unknown command %r - cannot remove.", __command__name)
else:
bot.remove_application_command(_cmd)
log.info("Removed command %s", __command_name)
log.info("Removed command %s", __command__name)
else:
log.info("Disabled commands are specified, however they're soft-blocked.")
else:
log.info("No commands to disable. Full steam ahead!")
bot.run(CONFIG["jimmy"]["token"])