From f1851bdff643ef76c96d63a17bf9e59b7640688e Mon Sep 17 00:00:00 2001 From: Injabie3 Date: Mon, 25 Dec 2023 16:10:04 -0800 Subject: [PATCH] [WordFilter] Change filtered message text - This is temporary for Christmas, will revert later. --- wordfilter/wordfilter.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wordfilter/wordfilter.py b/wordfilter/wordfilter.py index 6fb00138..85cdc43f 100644 --- a/wordfilter/wordfilter.py +++ b/wordfilter/wordfilter.py @@ -528,9 +528,9 @@ async def checkWords( # - Delete the message, # - Notify on the channel that the message was filtered without showing context # - DM user with the filtered context as per what we see usually. - filterNotify = "{0.author.mention} was filtered!".format(msg) + filterNotify = "{0.author.mention} wasn't jolly enough!".format(msg) notifyMsg = await msg.channel.send(filterNotify) - filterNotify = "You were filtered! Your message was: \n" + filterNotify = "You weren't jolly enough! Your message was: \n" embed = discord.Embed( colour=random.choice(COLOURS), description="{0.author.name}#{0.author.discriminator}: " @@ -544,12 +544,12 @@ async def checkWords( await asyncio.sleep(3) await notifyMsg.delete() elif (filteredMsg != originalMsg and oneWord) or allFiltered: - filterNotify = "{0.author.mention} was filtered!".format(msg) + filterNotify = "{0.author.mention} wasn't jolly enough!".format(msg) notifyMsg = await msg.channel.send(filterNotify) await asyncio.sleep(3) await notifyMsg.delete() else: - filterNotify = "{0.author.mention} was filtered! Message was: \n".format(msg) + filterNotify = "{0.author.mention} wasn't jolly enough! Message was: \n".format(msg) embed = discord.Embed( colour=random.choice(COLOURS), description="{0.author.name}#{0.author.discriminator}: "