mirror of
https://github.com/Nick80835/microbot
synced 2025-08-22 10:09:40 +00:00
make reload an owner command
This commit is contained in:
parent
f1882912d1
commit
a27fe7ea70
@ -93,7 +93,7 @@ async def execute(event):
|
||||
await exec_msg.edit(f"**Execution:**\n```{exec_text}```\n**Return:**\n```{eval_ret}```")
|
||||
|
||||
|
||||
@ldr.add("reload", sudo=True, hide_help=True)
|
||||
@ldr.add("reload", owner=True, hide_help=True)
|
||||
async def reload_modules(event):
|
||||
errors = ldr.reload_all_modules()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user