We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3018641 + 32bf744 commit 7441ce8Copy full SHA for 7441ce8
discord/enums.py
@@ -620,7 +620,7 @@ class SlashCommandOptionType(Enum):
620
role = 8
621
mentionable = 9
622
number = 10
623
- custom = 11
+ attachment = 11
624
625
@classmethod
626
def from_datatype(cls, datatype):
@@ -642,9 +642,6 @@ def from_datatype(cls, datatype):
642
if issubclass(datatype, float):
643
return cls.number
644
645
- if hasattr(datatype, "convert"):
646
- return cls.custom
647
-
648
if datatype.__name__ == "Member":
649
return cls.user
650
if datatype.__name__ in [
0 commit comments