mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-22 09:12:34 -05:00
[Mod] Added docstring for [p]reason, fixed typo
This commit is contained in:
@@ -435,6 +435,7 @@ class Mod:
|
|||||||
@commands.command(pass_context=True)
|
@commands.command(pass_context=True)
|
||||||
@checks.mod_or_permissions(manage_messages=True)
|
@checks.mod_or_permissions(manage_messages=True)
|
||||||
async def reason(self, ctx, case : int, *, reason : str):
|
async def reason(self, ctx, case : int, *, reason : str):
|
||||||
|
"""Lets you specify a reason for mod-log's cases"""
|
||||||
author = ctx.message.author
|
author = ctx.message.author
|
||||||
server = author.server
|
server = author.server
|
||||||
case = str(case)
|
case = str(case)
|
||||||
|
|||||||
Reference in New Issue
Block a user