Skip to content

Commit 32eb77c

Browse files
authored
Fix error message
1 parent 5f82ceb commit 32eb77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arc/command/option/custom/emoji.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _convert_value(self, value: str) -> hikari.Emoji:
5555
return hikari.Emoji.parse(value)
5656
except ValueError as exc:
5757
raise OptionConverterFailureError(
58-
self, value, f"Option '{self.name}' expected a valid color, got {value!r}."
58+
self, value, f"Option '{self.name}' expected a valid emoji, got {value!r}."
5959
) from exc
6060

6161
@classmethod

0 commit comments

Comments
 (0)