Skip to content

Commit 2ae3cea

Browse files
committed
Update rhelp.py
1 parent bdd0d90 commit 2ae3cea

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

rhelp/rhelp.py

+10-3
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,19 @@
1010

1111

1212
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+
1318
def __init__(self, bot: ModmailBot):
1419
self.bot = bot
1520

1621
async def get_help_embed(
1722
self, command: Union[commands.Command, commands.Group], ctx
1823
) -> Optional[discord.Embed]:
1924
"""
20-
Gets the help embed from the ModMailHelp Command.
25+
Gets the help embed from the Modmail Help Command.
2126
2227
"""
2328
help_command = self.bot.help_command
@@ -104,7 +109,8 @@ def fmt(val):
104109
@checks.has_permissions(PermissionLevel.SUPPORTER)
105110
async def rhelp(self, ctx: commands.Context, *, command: str):
106111
"""
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.
108114
"""
109115
command = command.lower()
110116
embed = None
@@ -156,7 +162,8 @@ async def rhelp(self, ctx: commands.Context, *, command: str):
156162
@checks.has_permissions(PermissionLevel.SUPPORTER)
157163
async def arhelp(self, ctx: commands.Context, *, command: str):
158164
"""
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.
160167
"""
161168
command = command.lower()
162169
embed = None

0 commit comments

Comments
 (0)