more log
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
This commit is contained in:
parent
f3fba710eb
commit
99ae3035d8
1 changed files with 5 additions and 1 deletions
|
@ -234,6 +234,10 @@ 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)
|
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"])
|
bot.run(CONFIG["jimmy"]["token"])
|
||||||
|
|
Loading…
Reference in a new issue