diff --git a/discord/app_commands/transformers.py b/discord/app_commands/transformers.py index e7ce6f961..bbf426b28 100644 --- a/discord/app_commands/transformers.py +++ b/discord/app_commands/transformers.py @@ -441,7 +441,7 @@ class EnumNameTransformer(Transformer): raise TypeError(f'enum.Enum requires at least two values.') self._enum: Any = enum - self._choices = [Choice(name=v.name, value=v.value) for v in values] + self._choices = [Choice(name=v.name, value=v.name) for v in values] @property def _error_display_name(self) -> str: