[CAH] Press f for the f

This commit is contained in:
aikaterna
2020-01-24 15:01:27 -08:00
committed by GitHub
parent 17751e7db3
commit ff8d3065d9

View File

@@ -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']}"