Skip to content

Commit 1c37367

Browse files
committed
temporarily disabled "I hardly know her" joke
1 parent 01ddbde commit 1c37367

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

protobot.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -159,19 +159,19 @@ async def on_message(message):
159159
for recipient in mentions:
160160
await message.channel.send(f"Happy Birthday <@{recipient.id}>! 🎈🎉🎂")
161161

162-
elif 'er' in message.content.lower():
163-
"""
164-
Lets the bot tell the famous "x-er? I hardly know 'er!" joke
165-
"""
166-
167-
user_message = message.content.split()
168-
169-
for i in range(len(user_message)):
170-
user_message[i] = user_message[i].translate(str.maketrans('', '', string.punctuation))
171-
if (user_message[i][-2:] == "er" and len(user_message[i]) > 4):
172-
response = user_message[i][0].upper() + user_message[i][1:] + "? I hardly know her!"
173-
await message.channel.send(response)
174-
break
162+
#elif 'er' in message.content.lower():
163+
# """
164+
# Lets the bot tell the famous "x-er? I hardly know 'er!" joke
165+
# """
166+
167+
# user_message = message.content.split()
168+
169+
# for i in range(len(user_message)):
170+
# user_message[i] = user_message[i].translate(str.maketrans('', '', string.punctuation))
171+
# if (user_message[i][-2:] == "er" and len(user_message[i]) > 4):
172+
# response = user_message[i][0].upper() + user_message[i][1:] + "? I hardly know her!"
173+
# await message.channel.send(response)
174+
# break
175175

176176
elif 'im' in message.content.lower() or 'i\'m' in message.content.lower() or 'i am' in message.content.lower():
177177
"""

0 commit comments

Comments
 (0)