diff --git a/geeksbot/__main__.py b/geeksbot/__main__.py index e78f50f..05e78af 100644 --- a/geeksbot/__main__.py +++ b/geeksbot/__main__.py @@ -128,6 +128,7 @@ class Geeksbot(commands.Bot): bot = Geeksbot(case_insensitive=True) +@is_me() @bot.command(hidden=True) async def load(ctx, mod=None): """Allows the owner to load extensions dynamically""" @@ -137,6 +138,7 @@ async def load(ctx, mod=None): logger.info(f"{mod} loaded") +@is_me() @bot.command(hidden=True) async def reload(ctx, mod=None): """Allows the owner to reload extensions dynamically""" @@ -152,6 +154,7 @@ async def reload(ctx, mod=None): await ctx.send(f'{mod} reloaded') +@is_me() @bot.command(hidden=True) async def unload(ctx, mod): """Allows the owner to unload extensions dynamically"""