Skip to content

Commit 133a565

Browse files
authored
Update modmail.py
1 parent 2e53b7c commit 133a565

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cogs/modmail.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,13 +291,14 @@ async def move(self, ctx, category: discord.CategoryChannel, *, specifics: str =
291291
Move a thread to another category.
292292
293293
`category` may be a category ID, mention, or name.
294+
`specifics` is a string which takes in arguments on how to perform the move. Ex: "silently"
294295
"""
295296
thread = ctx.thread
296297
silent = False
297298

298299
if specifics:
299-
silent_words = ['silent', 'quiet']
300-
silent = any(word in specifics for word in silent_words)
300+
silent_words = ['silent', 'silently']
301+
silent = any(word in silent_words for word in specifics.split())
301302

302303
await thread.channel.edit(category=category, sync_permissions=True)
303304

0 commit comments

Comments
 (0)