mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 19:28:54 -05:00
[Mod] Added docstring for [p]reason, fixed typo
This commit is contained in:
parent
0f6e788214
commit
a29ed0c381
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user