aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/uwu.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/fun/uwu.py')
-rw-r--r--bot/exts/fun/uwu.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/fun/uwu.py b/bot/exts/fun/uwu.py
index 7a9d55d0..488c68f3 100644
--- a/bot/exts/fun/uwu.py
+++ b/bot/exts/fun/uwu.py
@@ -30,7 +30,7 @@ EMOJIS = [
"o.O",
"-.-",
">w<",
- "σωσ",
+ "σωσ", # noqa: RUF001
"òωó",
"ʘwʘ",
":3",
@@ -74,7 +74,7 @@ class Emoji:
return bot.get_emoji(self.uid) is not None
@classmethod
- def from_match(cls, match: tuple[str, str, str]) -> t.Optional['Emoji']:
+ def from_match(cls, match: tuple[str, str, str]) -> t.Optional["Emoji"]:
"""Creates an Emoji from a regex match tuple."""
if not match or len(match) != 3 or not match[2].isdecimal():
return None
@@ -155,7 +155,7 @@ class Uwu(Cog):
return input_string
@commands.command(name="uwu", aliases=("uwuwize", "uwuify",))
- async def uwu_command(self, ctx: Context, *, text: t.Optional[str] = None) -> None:
+ async def uwu_command(self, ctx: Context, *, text: str | None = None) -> None:
"""
Echo an uwuified version the passed text.