mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 19:28:54 -05:00
Fix casing and add missing dot in two commands (#3851)
This commit is contained in:
parent
de99aac3ad
commit
fb26ecf577
@ -249,7 +249,7 @@ class MuteMixin(MixinMeta):
|
|||||||
@commands.bot_has_permissions(manage_roles=True)
|
@commands.bot_has_permissions(manage_roles=True)
|
||||||
@checks.mod_or_permissions(administrator=True)
|
@checks.mod_or_permissions(administrator=True)
|
||||||
async def guild_mute(self, ctx: commands.Context, user: discord.Member, *, reason: str = None):
|
async def guild_mute(self, ctx: commands.Context, user: discord.Member, *, reason: str = None):
|
||||||
"""Mutes user in the server"""
|
"""Mutes user in the server."""
|
||||||
author = ctx.message.author
|
author = ctx.message.author
|
||||||
guild = ctx.guild
|
guild = ctx.guild
|
||||||
audit_reason = get_audit_reason(author, reason)
|
audit_reason = get_audit_reason(author, reason)
|
||||||
|
|||||||
@ -2001,7 +2001,7 @@ class Core(commands.Cog, CoreLogic):
|
|||||||
@checks.admin_or_permissions(administrator=True)
|
@checks.admin_or_permissions(administrator=True)
|
||||||
async def localblacklist(self, ctx: commands.Context):
|
async def localblacklist(self, ctx: commands.Context):
|
||||||
"""
|
"""
|
||||||
blacklist management commands.
|
Blacklist management commands.
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user