From 1186f1b23e0773dd86bc5a0c2ce75550ffb26dfe Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Wed, 1 Jan 2025 01:46:40 -0500 Subject: [PATCH] remove repr in ignore/unignore --- nomen/notifications.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nomen/notifications.py b/nomen/notifications.py index d54b43a..ac5756f 100644 --- a/nomen/notifications.py +++ b/nomen/notifications.py @@ -362,12 +362,12 @@ class Notifications(Cog): if await ctx.bot.db.fetch_exists( "SELECT * FROM user_ignores WHERE user_id=? AND guild_id=? AND target=?", params ): - await ctx.send(f"Target `{repr(target)}` already ignored") + await ctx.send(f"Target `{target}` already ignored") return await ctx.bot.db.execute("INSERT INTO user_ignores VALUES(?, ?, ?)", params) await ctx.bot.db.commit() - await ctx.send(f"Now ignoring `{repr(target)}`") + await ctx.send(f"Now ignoring `{target}`") @keyword.command() @guild_only() @@ -382,12 +382,12 @@ class Notifications(Cog): if not await ctx.bot.db.fetch_exists( "SELECT * FROM user_ignores WHERE user_id=? AND guild_id=? AND target=?", params ): - await ctx.send(f"Target `{repr(target)}` is not currently being ignored") + await ctx.send(f"Target `{target}` is not currently being ignored") return await ctx.bot.db.execute("DELETE FROM user_ignores WHERE user_id=? AND guild_id=? AND target=?", params) await ctx.bot.db.commit() - await ctx.send(f"No longer ignoring `{repr(target)}`") + await ctx.send(f"No longer ignoring `{target}`") @keyword.command() async def block(self, ctx, target: User):