Skip to content

Commit 9fb64fd

Browse files
committed
Allow case-sensitive context menu names.
1 parent cf7e72d commit 9fb64fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord_slash/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ def add_context_menu(self, cmd, name: str, _type: int, guild_ids: list = None):
649649
:type _type: int
650650
"""
651651

652-
name = [name or cmd.__name__][0].lower()
652+
name = [name or cmd.__name__][0]
653653
guild_ids = guild_ids or []
654654

655655
if not all(isinstance(item, int) for item in guild_ids):

0 commit comments

Comments
 (0)