diff --git a/didier/cogs/fun.py b/didier/cogs/fun.py index 4507305..98a86d6 100644 --- a/didier/cogs/fun.py +++ b/didier/cogs/fun.py @@ -29,12 +29,12 @@ class Fun(commands.Cog): @commands.hybrid_command(name="clap") async def clap(self, ctx: commands.Context, *, text: str): """Clap a message with emojis for extra dramatic effect""" - chars = list(filter(lambda c: c.isalnum(), text)) + chars = list(filter(lambda c: c in constants.EMOJI_MAP, text)) if not chars: return await ctx.reply("👏", mention_author=False) - text = "👏".join(list(map(lambda c: constants.EMOJI_MAP.get(c), chars))) + text = "👏".join(list(map(lambda c: constants.EMOJI_MAP[c], chars))) text = f"👏{text}👏" if len(text) > constants.Limits.MESSAGE_LENGTH: diff --git a/profile_pictures/didier_new_mask.png b/profile_pictures/didier_new_mask.png new file mode 100644 index 0000000..b5c87c2 Binary files /dev/null and b/profile_pictures/didier_new_mask.png differ diff --git a/profile_pictures/didier_new_no_mask.png b/profile_pictures/didier_new_no_mask.png new file mode 100644 index 0000000..0c636d9 Binary files /dev/null and b/profile_pictures/didier_new_no_mask.png differ diff --git a/profile_pictures/didier_old.png b/profile_pictures/didier_old.png new file mode 100644 index 0000000..773bc47 Binary files /dev/null and b/profile_pictures/didier_old.png differ diff --git a/profile_pictures/didier_old_mask.png b/profile_pictures/didier_old_mask.png new file mode 100644 index 0000000..0927ea3 Binary files /dev/null and b/profile_pictures/didier_old_mask.png differ diff --git a/profile_pictures/didier_old_project_file.xcf b/profile_pictures/didier_old_project_file.xcf new file mode 100644 index 0000000..b15cf5e Binary files /dev/null and b/profile_pictures/didier_old_project_file.xcf differ diff --git a/profile_pictures/festive_didier.xcf b/profile_pictures/festive_didier.xcf new file mode 100644 index 0000000..3e5d90d Binary files /dev/null and b/profile_pictures/festive_didier.xcf differ diff --git a/profile_pictures/festive_didier_mask.png b/profile_pictures/festive_didier_mask.png new file mode 100644 index 0000000..09c70ae Binary files /dev/null and b/profile_pictures/festive_didier_mask.png differ diff --git a/profile_pictures/spooky_didier.png b/profile_pictures/spooky_didier.png new file mode 100644 index 0000000..b67e12e Binary files /dev/null and b/profile_pictures/spooky_didier.png differ diff --git a/profile_pictures/spooky_didier.xcf b/profile_pictures/spooky_didier.xcf new file mode 100644 index 0000000..5ddffd1 Binary files /dev/null and b/profile_pictures/spooky_didier.xcf differ diff --git a/profile_pictures/the_cooler_didier.xcf b/profile_pictures/the_cooler_didier.xcf new file mode 100644 index 0000000..831e1b0 Binary files /dev/null and b/profile_pictures/the_cooler_didier.xcf differ diff --git a/profile_pictures/the_cooler_didier_cut.xcf b/profile_pictures/the_cooler_didier_cut.xcf new file mode 100644 index 0000000..5310bc0 Binary files /dev/null and b/profile_pictures/the_cooler_didier_cut.xcf differ diff --git a/profile_pictures/the_cooler_didier_mask.png b/profile_pictures/the_cooler_didier_mask.png new file mode 100644 index 0000000..5f9b387 Binary files /dev/null and b/profile_pictures/the_cooler_didier_mask.png differ diff --git a/profile_pictures/the_cooler_didier_no_mask.png b/profile_pictures/the_cooler_didier_no_mask.png new file mode 100644 index 0000000..908ed29 Binary files /dev/null and b/profile_pictures/the_cooler_didier_no_mask.png differ diff --git a/profile_pictures/vacation_didier.xcf b/profile_pictures/vacation_didier.xcf new file mode 100644 index 0000000..cd9255c Binary files /dev/null and b/profile_pictures/vacation_didier.xcf differ diff --git a/profile_pictures/vacation_didier_mask.png b/profile_pictures/vacation_didier_mask.png new file mode 100644 index 0000000..0314c48 Binary files /dev/null and b/profile_pictures/vacation_didier_mask.png differ