|
1 | 1 | import asyncio |
2 | | -import re |
3 | 2 | import os |
4 | 3 | from datetime import datetime |
5 | 4 | from typing import Optional, Union |
@@ -177,7 +176,7 @@ async def snippets_remove(self, ctx, *, name: str.lower): |
177 | 176 | @checks.thread_only() |
178 | 177 | async def move(self, ctx, *, category: discord.CategoryChannel): |
179 | 178 | """ |
180 | | - Move a thread to a specified category. |
| 179 | + Move a thread to another category. |
181 | 180 |
|
182 | 181 | `category` may be a category ID, mention, or name. |
183 | 182 | """ |
@@ -268,12 +267,13 @@ async def close(self, ctx, *, after: UserFriendlyTime = None): |
268 | 267 | @checks.thread_only() |
269 | 268 | async def notify(self, ctx, *, role: Union[discord.Role, str.lower, None] = None): |
270 | 269 | """ |
271 | | - Notify a role or yourself to the next thread message received. |
| 270 | + Notify a role or yourself when the next thread message received. |
272 | 271 |
|
273 | | - Once a thread message is received `role` will only be pinged once. |
| 272 | + Once a thread message is received, `role` will only be pinged once. |
274 | 273 |
|
275 | | - Leave `role` empty to notify yourself. `@here` and `@everyone` can be substituted with `here` and `everyone`. |
276 | | - `role` may be a role ID, mention, or name. |
| 274 | + Leave `role` empty to notify yourself. |
| 275 | + `@here` and `@everyone` can be substituted with `here` and `everyone`. |
| 276 | + `role` may be a role ID, mention, name, "everyone", or "here". |
277 | 277 | """ |
278 | 278 | thread = ctx.thread |
279 | 279 |
|
@@ -312,8 +312,9 @@ async def subscribe(self, ctx, *, role: Union[discord.Role, str.lower, None] = N |
312 | 312 |
|
313 | 313 | You will be pinged for every thread message received until you unsubscribe. |
314 | 314 |
|
315 | | - Leave `role` empty to notify yourself. `@here` and `@everyone` can be substituted with `here` and `everyone`. |
316 | | - `role` may be a role ID, mention, or name. |
| 315 | + Leave `role` empty to subscribe yourself. |
| 316 | + `@here` and `@everyone` can be substituted with `here` and `everyone`. |
| 317 | + `role` may be a role ID, mention, name, "everyone", or "here". |
317 | 318 | """ |
318 | 319 | thread = ctx.thread |
319 | 320 |
|
@@ -350,10 +351,11 @@ async def subscribe(self, ctx, *, role: Union[discord.Role, str.lower, None] = N |
350 | 351 | @checks.thread_only() |
351 | 352 | async def unsubscribe(self, ctx, *, role=None): |
352 | 353 | """ |
353 | | - Unsubscribe a role yourself from a thread. |
| 354 | + Unsubscribe a role or yourself from a thread. |
354 | 355 |
|
355 | | - Leave `role` empty to notify yourself. `@here` and `@everyone` can be substituted with `here` and `everyone`. |
356 | | - `role` may be a role ID, mention, or name. |
| 356 | + Leave `role` empty to unsubscribe yourself. |
| 357 | + `@here` and `@everyone` can be substituted with `here` and `everyone`. |
| 358 | + `role` may be a role ID, mention, name, "everyone", or "here". |
357 | 359 | """ |
358 | 360 | thread = ctx.thread |
359 | 361 |
|
@@ -492,7 +494,7 @@ async def logs_closed_by(self, ctx, *, user: User = None): |
492 | 494 | """ |
493 | 495 | Get all logs closed by the specified user. |
494 | 496 |
|
495 | | - If no `user` is provided, the user will be whoever sent this command. |
| 497 | + If no `user` is provided, the user will be the person who sent this command. |
496 | 498 | `user` may be a user ID, mention, or name. |
497 | 499 | """ |
498 | 500 | user = user if user is not None else ctx.author |
@@ -740,7 +742,7 @@ async def block(self, ctx, user: Optional[User] = None, *, |
740 | 742 | """ |
741 | 743 | Block a user from using Modmail. |
742 | 744 |
|
743 | | - You may chose to set a time as to when the user will automatically be unblocked. |
| 745 | + You may choose to set a time as to when the user will automatically be unblocked. |
744 | 746 |
|
745 | 747 | Leave `user` blank when this command is used within a |
746 | 748 | thread channel to block the current recipient. |
|
0 commit comments