|
10 | 10 |
|
11 | 11 |
|
12 | 12 | class Rhelp(commands.Cog):
|
| 13 | + |
| 14 | + """Plugin to send command or config help dialogs to a thread recipient. |
| 15 | + |
| 16 | + Created by Martin B <@618805150756110336>""" |
| 17 | + |
13 | 18 | def __init__(self, bot: ModmailBot):
|
14 | 19 | self.bot = bot
|
15 | 20 |
|
16 | 21 | async def get_help_embed(
|
17 | 22 | self, command: Union[commands.Command, commands.Group], ctx
|
18 | 23 | ) -> Optional[discord.Embed]:
|
19 | 24 | """
|
20 |
| - Gets the help embed from the ModMailHelp Command. |
| 25 | + Gets the help embed from the Modmail Help Command. |
21 | 26 |
|
22 | 27 | """
|
23 | 28 | help_command = self.bot.help_command
|
@@ -104,7 +109,8 @@ def fmt(val):
|
104 | 109 | @checks.has_permissions(PermissionLevel.SUPPORTER)
|
105 | 110 | async def rhelp(self, ctx: commands.Context, *, command: str):
|
106 | 111 | """
|
107 |
| - Sendet die Hilfe für einen bestimmten Befehl an den Nutzer im aktuellen Thread. |
| 112 | + ``DE:`` Sendet die Hilfe für einen bestimmten Befehl an den Nutzer im aktuellen Thread. |
| 113 | + ``EN:`` Sends help for a specific command to the user in the current thread. |
108 | 114 | """
|
109 | 115 | command = command.lower()
|
110 | 116 | embed = None
|
@@ -156,7 +162,8 @@ async def rhelp(self, ctx: commands.Context, *, command: str):
|
156 | 162 | @checks.has_permissions(PermissionLevel.SUPPORTER)
|
157 | 163 | async def arhelp(self, ctx: commands.Context, *, command: str):
|
158 | 164 | """
|
159 |
| - Sendet die Hilfe für einen bestimmten Befehl an den Nutzer im aktuellen Thread. |
| 165 | + ``DE:`` Sendet die Hilfe für einen bestimmten Befehl an den Nutzer im aktuellen Thread. |
| 166 | + ``EN:`` Sends help for a specific command to the user in the current thread. |
160 | 167 | """
|
161 | 168 | command = command.lower()
|
162 | 169 | embed = None
|
|
0 commit comments