From ff8d3065d938238e3fc1fa9fec54df14eff36781 Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Fri, 24 Jan 2020 15:01:27 -0800 Subject: [PATCH] [CAH] Press f for the f --- cah/cah.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/cah/cah.py b/cah/cah.py index 4ab4336..7975584 100644 --- a/cah/cah.py +++ b/cah/cah.py @@ -9,10 +9,7 @@ from redbot.core import commands from redbot.core.data_manager import bundled_data_path -BaseCog = getattr(commands, "Cog", object) - - -class CardsAgainstHumanity(BaseCog): +class CardsAgainstHumanity(commands.Cog): def __init__(self, bot): self.bot = bot self.games = [] @@ -773,7 +770,7 @@ class CardsAgainstHumanity(BaseCog): if len(game["Members"]) < self.minMembers: stat_embed = discord.Embed(color=discord.Color.red()) stat_embed.set_author( - name="Not enough players to continue! ({len(game['Members'])}/{self.minMembers})" + name=f"Not enough players to continue! ({len(game['Members'])}/{self.minMembers})" ) stat_embed.set_footer( text=f"Have other users join with: {ctx.prefix}joincah {game['ID']}"