1
0
Fork 0

Fix helps

This commit is contained in:
Ethanell 2020-04-08 18:46:18 +02:00
parent ba729daf54
commit 7c1159085c
2 changed files with 13 additions and 26 deletions

View file

@ -31,27 +31,14 @@ class Purge(commands.Cog):
del self.purges[ctx.message.author.id] del self.purges[ctx.message.author.id]
except: except:
pass pass
else: else:
await ctx.message.add_reaction("\u274C") await ctx.message.add_reaction("\u274C")
@purge.group("help", pass_context=True) @purge.group("help", pass_context=True)
@commands.guild_only() @commands.guild_only()
async def purge_help(self, ctx: commands.Context): async def purge_help(self, ctx: commands.Context):
embed = Embed(title="Speak help") embed = Embed(title="Purge help")
embed.add_field(name="speak", value="Join the waiting list", inline=False) embed.add_field(name="purge", value="Purge all message delimited by the command to your next reaction",
embed.add_field(name="speak remove [@pepole, @...]",
value="Remove yourself or mentioned person from the waiting list", inline=False)
embed.add_field(name="speak list", value="Show the waiting list", inline=False)
embed.add_field(name="Speak setup [strict]",
value="Set your current voice channel as the speak channel, you cant add the argument `strict` "
"to mute everyone except you and the current speaker", inline=False)
embed.add_field(name="speak next",
value="Give the turn to the next waiter, if strict mode is enabled the last person get muted "
"and the next unmuted", inline=False)
embed.add_field(name="speak mute", value="Mute everyone on the speak channel except you", inline=False)
embed.add_field(name="speak unmute", value="Unmute everyone on the speak channel except you", inline=False)
embed.add_field(name="speak clear", value="Clear the speak by unmute everyone and forget the list & channel",
inline=False) inline=False)
await ctx.send(embed=embed) await ctx.send(embed=embed)

View file

@ -88,7 +88,7 @@ class Speak(commands.Cog):
embed.add_field(name="speak remove [@pepole, @...]", embed.add_field(name="speak remove [@pepole, @...]",
value="Remove yourself or mentioned person from the waiting list", inline=False) value="Remove yourself or mentioned person from the waiting list", inline=False)
embed.add_field(name="speak list", value="Show the waiting list", inline=False) embed.add_field(name="speak list", value="Show the waiting list", inline=False)
embed.add_field(name="Speak setup [strict]", embed.add_field(name="speak setup [strict]",
value="Set your current voice channel as the speak channel, you cant add the argument `strict` " value="Set your current voice channel as the speak channel, you cant add the argument `strict` "
"to mute everyone except you and the current speaker", inline=False) "to mute everyone except you and the current speaker", inline=False)
embed.add_field(name="speak next", embed.add_field(name="speak next",