Introduced prefer_emojis for PycordGuild
This commit is contained in:
@@ -65,9 +65,11 @@ class CogGuess(Cog):
|
||||
return
|
||||
|
||||
if answer.lower() != stage.answer.lower():
|
||||
# TODO Make a nice message
|
||||
# await ctx.respond("Provided answer is wrong.")
|
||||
await ctx.respond(self.bot.config["emojis"]["guess_wrong"])
|
||||
await ctx.respond(
|
||||
self.bot.config["emojis"]["guess_wrong"]
|
||||
if guild.prefer_emojis
|
||||
else self.bot._("guess_incorrect", "messages", locale=ctx.locale)
|
||||
)
|
||||
return
|
||||
|
||||
next_stage_index = stage.sequence + 1
|
||||
|
Reference in New Issue
Block a user