Skip to content

Commit 59bfe7e

Browse files
committed
Add doc strings for commands
1 parent 385eac4 commit 59bfe7e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cogs/modmail.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ async def nsfw(self, ctx):
305305

306306
@commands.command()
307307
async def loglink(self, ctx):
308+
"""Return the link to the current thread's logs."""
308309
thread = await self.bot.threads.find(channel=ctx.channel)
309310
if thread:
310311
log_link = await self.bot.modmail_api.get_log_link(ctx.channel.id)
@@ -391,6 +392,11 @@ async def reply(self, ctx, *, msg=''):
391392

392393
@commands.command()
393394
async def anonreply(self, ctx, *, msg=''):
395+
"""Reply to a thread anonymously.
396+
397+
You can edit the anonymous user's name, avatar and tag using the config command.
398+
Edit the `anon_username`, `anon_avatar_url` and `anon_tag` config variables to do so.
399+
"""
394400
ctx.message.content = msg
395401
thread = await self.bot.threads.find(channel=ctx.channel)
396402
if thread:

0 commit comments

Comments
 (0)