Skip to content

Commit

Permalink
⚫ Fade to black.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jun 30, 2023
1 parent 1d1af0b commit 151f1c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pmxbot/commands.py
Expand Up @@ -464,9 +464,7 @@ def insult(rest):
insult = cinsre.sub("%s's" % insultee, insult)
elif insult.type in (1, 3):
cinsre = re.compile(r'^([TY])')
insult = cinsre.sub(
lambda m: f"{insultee}, {m.group(1).lower()}", insult
)
insult = cinsre.sub(lambda m: f"{insultee}, {m.group(1).lower()}", insult)
return insult


Expand Down

0 comments on commit 151f1c3

Please sign in to comment.