aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar AbooMinister25 <[email protected]>2022-08-08 10:15:04 -0400
committerGravatar AbooMinister25 <[email protected]>2022-08-08 10:15:04 -0400
commiteb6d711f49297ec361fbe045bd4c596edada29a2 (patch)
treec5e8d04cd5c394e9682c74daab3891b2e77392cc
parentRan lints :p (diff)
Fixed conflicts from PR 1078
-rw-r--r--bot/exts/fun/uwu.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bot/exts/fun/uwu.py b/bot/exts/fun/uwu.py
index 9e228065..0d650de0 100644
--- a/bot/exts/fun/uwu.py
+++ b/bot/exts/fun/uwu.py
@@ -10,6 +10,9 @@ from discord.ext.commands import Cog, Context, clean_content
from bot.bot import Bot
from bot.utils import helpers
+if t.TYPE_CHECKING:
+ from bot.exts.fun.fun import Fun # pragma: no cover
+
WORD_REPLACE = {
"small": "smol",
"cute": "kawaii~",
@@ -129,7 +132,8 @@ class Uwu(Cog):
await clean_content(fix_channel_mentions=True).convert(ctx, text)
- fun_cog = ctx.bot.get_cog("Fun")
+ fun_cog: t.Optional[Fun] = ctx.bot.get_cog("Fun")
+
if fun_cog:
text, embed = await fun_cog._get_text_and_embed(ctx, text)