Skip to content

Commit 6431ab0

Browse files
committed
Fix typo in config_help
1 parent e311828 commit 6431ab0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

core/config_help.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@
426426
"default": "\"You have opened a Modmail thread.\"",
427427
"description": "This is the message embed description sent to recipients when self-contacted.",
428428
"examples": [
429-
"`{prefix}config set thread_creation_contact_title You contacted yourself.`"
429+
"`{prefix}config set thread_creation_self_contact_response You contacted yourself.`"
430430
],
431431
"notes": [
432432
"`thread_creation_contact_response` is used when contacted by another user.",

core/thread.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,8 @@ async def note(
805805

806806
async def reply(
807807
self, message: discord.Message, anonymous: bool = False, plain: bool = False
808-
) -> typing.Tuple[discord.Message, discord.Message]:
808+
) -> typing.Tuple[typing.List[discord.Message], discord.Message]:
809+
"""Returns List[user_dm_msg] and thread_channel_msg"""
809810
if not message.content and not message.attachments:
810811
raise MissingRequiredArgument(SimpleNamespace(name="msg"))
811812
if not any(g.get_member(self.id) for g in self.bot.guilds):

0 commit comments

Comments
 (0)