Remove owner check for testing load/unload/reload
This commit is contained in:
parent
1e44728980
commit
d4c13ba593
@ -128,7 +128,6 @@ class Geeksbot(commands.Bot):
|
|||||||
bot = Geeksbot(case_insensitive=True)
|
bot = Geeksbot(case_insensitive=True)
|
||||||
|
|
||||||
|
|
||||||
@is_me()
|
|
||||||
@bot.command(hidden=True)
|
@bot.command(hidden=True)
|
||||||
async def load(ctx, mod=None):
|
async def load(ctx, mod=None):
|
||||||
"""Allows the owner to load extensions dynamically"""
|
"""Allows the owner to load extensions dynamically"""
|
||||||
@ -138,7 +137,6 @@ async def load(ctx, mod=None):
|
|||||||
logger.info(f"{mod} loaded")
|
logger.info(f"{mod} loaded")
|
||||||
|
|
||||||
|
|
||||||
@is_me()
|
|
||||||
@bot.command(hidden=True)
|
@bot.command(hidden=True)
|
||||||
async def reload(ctx, mod=None):
|
async def reload(ctx, mod=None):
|
||||||
"""Allows the owner to reload extensions dynamically"""
|
"""Allows the owner to reload extensions dynamically"""
|
||||||
@ -154,7 +152,6 @@ async def reload(ctx, mod=None):
|
|||||||
await ctx.send(f'{mod} reloaded')
|
await ctx.send(f'{mod} reloaded')
|
||||||
|
|
||||||
|
|
||||||
@is_me()
|
|
||||||
@bot.command(hidden=True)
|
@bot.command(hidden=True)
|
||||||
async def unload(ctx, mod):
|
async def unload(ctx, mod):
|
||||||
"""Allows the owner to unload extensions dynamically"""
|
"""Allows the owner to unload extensions dynamically"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user