Fix strict emoji on speak embed
This commit is contained in:
parent
56675991e6
commit
b702723b71
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ class Speak(commands.Cog):
|
||||||
value="\U0001f5e3 speak !\n"
|
value="\U0001f5e3 speak !\n"
|
||||||
"\u2757 react to speaker\n"
|
"\u2757 react to speaker\n"
|
||||||
"\u27A1 Next\n"
|
"\u27A1 Next\n"
|
||||||
"\U0001F512 Strict\n"
|
"\U0001F513 Strict\n"
|
||||||
"\u274C clear the speak\n"
|
"\u274C clear the speak\n"
|
||||||
"Remove your reaction to remove from list",
|
"Remove your reaction to remove from list",
|
||||||
inline=False)
|
inline=False)
|
||||||
|
@ -176,7 +176,7 @@ class Speak(commands.Cog):
|
||||||
not reaction.message.guild.get_channel(self.voice_chan).permissions_for(user).mute_members:
|
not reaction.message.guild.get_channel(self.voice_chan).permissions_for(user).mute_members:
|
||||||
await reaction.remove(user)
|
await reaction.remove(user)
|
||||||
else:
|
else:
|
||||||
replace = ["\U0001F512", "\U0001F513"] if not self.strict else ["\U0001F513", "\U0001F512"]
|
replace = ["\U0001F513", "\U0001F512"] if not self.strict else ["\U0001F512", "\U0001F513"]
|
||||||
self.strict = not self.strict
|
self.strict = not self.strict
|
||||||
if self.strict:
|
if self.strict:
|
||||||
for client in user.voice.channel.members:
|
for client in user.voice.channel.members:
|
||||||
|
|
Reference in a new issue