diff --git a/bot.py b/bot.py index 5f7808c..64063a8 100644 --- a/bot.py +++ b/bot.py @@ -17,11 +17,13 @@ statusType="watching" # Commands @tree.command(name="ping", description="Check bot connection") async def ping(ctx): + print("Ping") await ctx.response.send_message("Pong!",ephemeral=True) @tree.command(name="shortlink", description="Shorten a link") async def shortlink(ctx, link: str, name: str = None): if (ctx.user.id != 892672018917519370): + print("User: " + str(ctx.user.id) + " tried to use the link command") await ctx.response.send_message("You don't have permission to use this command",ephemeral=True) else: APIKEY=os.getenv('LINK_API_KEY') @@ -41,6 +43,7 @@ async def shortlink(ctx, link: str, name: str = None): @tree.command(name="botstatus", description="Set the bot status") async def botstatus(ctx, message: str, statusmethod: str = None): if (ctx.user.id != 892672018917519370): + print("User: " + str(ctx.user.id) + " tried to use the botstatus command") await ctx.response.send_message("You don't have permission to use this command",ephemeral=True) else: global activityMessage