Added usage for mute/unmute command

pull/8/head
sgoudham 4 years ago
parent f2217cf150
commit f4884fc840

@ -334,7 +334,7 @@ class Moderation(Cog):
# Send embed of the kicked member
await kick_members(ctx.message, members, reason)
@command(name="mute", aliases=["Mute"])
@command(name="mute", aliases=["Mute"], usage="`<member>...` `[reason]`")
@has_guild_permissions(manage_roles=True)
@bot_has_guild_permissions(manage_roles=True)
async def mute(self, ctx, members: Greedy[Member], *, reason: Optional[str] = "No Reason Given"):
@ -359,7 +359,7 @@ class Moderation(Cog):
# Send embed of the kicked member
await mute_members(ctx.message, members, reason, role)
@command(name="unmute", aliases=["Unmute"])
@command(name="unmute", aliases=["Unmute"], usage="`<member>...` `[reason]`")
@has_guild_permissions(manage_roles=True)
@bot_has_guild_permissions(manage_roles=True)
async def unmute(self, ctx, members: Greedy[Member], *, reason: Optional[str] = "No Reason Given"):

Loading…
Cancel
Save