aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/fun.py
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-05-01 14:38:18 +0100
committerGravatar shtlrs <[email protected]>2023-05-06 13:20:47 +0100
commita976c7888423e657f946ac567695c7da23e9f9a7 (patch)
tree764fcaf5a3891378578efc5a70de894a160ccedc /bot/exts/fun/fun.py
parentRevert "redeem lost bot references" (diff)
revert renaming of Client to Bot
Diffstat (limited to 'bot/exts/fun/fun.py')
-rw-r--r--bot/exts/fun/fun.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/fun/fun.py b/bot/exts/fun/fun.py
index aa12b079..16279dd7 100644
--- a/bot/exts/fun/fun.py
+++ b/bot/exts/fun/fun.py
@@ -12,7 +12,7 @@ from discord.ext.commands import BadArgument, Cog, Context
from pydis_core.utils.commands import clean_text_or_reply
from bot.bot import Bot
-from bot.constants import Bot, Colours, Emojis
+from bot.constants import Client, Colours, Emojis
from bot.utils import helpers, messages
log = logging.getLogger(__name__)
@@ -58,7 +58,7 @@ class Fun(Cog):
dice = " ".join(self._get_random_die() for _ in range(num_rolls))
await ctx.send(dice)
else:
- raise BadArgument(f"`{Bot.prefix}roll` only supports between 1 and 6 rolls.")
+ raise BadArgument(f"`{Client.prefix}roll` only supports between 1 and 6 rolls.")
@commands.command(name="randomcase", aliases=("rcase", "randomcaps", "rcaps",))
async def randomcase_command(self, ctx: Context, *, text: str | None) -> None: