remove a couple redundant prints

This commit is contained in:
yuki 2025-10-07 23:59:23 -03:00
parent bfc9197333
commit 7dfb910667

View file

@ -6,7 +6,6 @@ import utils as u
def setup(bot: bot.Bot): def setup(bot: bot.Bot):
@bot.command(name="echo") @bot.command(name="echo")
async def echo(ctx: nerimity.Context, *text: str): async def echo(ctx: nerimity.Context, *text: str):
print(bot.is_owner(ctx.author))
if not bot.is_owner(ctx.author): if not bot.is_owner(ctx.author):
print("returned") print("returned")
return return
@ -32,7 +31,6 @@ def setup(bot: bot.Bot):
@bot.command(name="post") @bot.command(name="post")
async def post(ctx: nerimity.Context, *text: str): async def post(ctx: nerimity.Context, *text: str):
print(bot.is_owner(ctx.author))
if not bot.is_owner(ctx.author): if not bot.is_owner(ctx.author):
print("returned") print("returned")
return return