Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion config.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ modmail_config:
enable_modmail: False
disable_thread_creation: False
modmail_auth_token:
modmail_prefix:
modmail_guild:
modmail_forum_channel:
modmail_log_channel:
Expand Down
5 changes: 2 additions & 3 deletions modules/moderation/modmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Runs a bot that can be messaged to create modmail threads
Unit tests: False
Config:
File: enable_modmail, disable_thread_creation, modmail_auth_token, modmail_prefix,
File: enable_modmail, disable_thread_creation, modmail_auth_token,
modmail_guild, modmail_forum_channel, modmail_log_channel
Command: aliases, automatic_responses, modmail_roles, roles_to_ping, thread_creation_message
API: None
Expand Down Expand Up @@ -903,7 +903,6 @@ def __init__(self: Self, bot: bot.TechSupportBot) -> None:
)

# Finally, makes the TS client available from within the Modmail extension class once again
self.prefix = bot.file_config.modmail_config.modmail_prefix
self.bot = bot

async def handle_reboot(self: Self) -> None:
Expand Down Expand Up @@ -949,7 +948,7 @@ async def list_aliases(self: Self, interaction: discord.Interaction) -> None:
color=discord.Color.green(), title="Registered aliases for this guild:"
)
for alias in aliases:
embed.add_field(name=f"{self.prefix}{alias}", value=aliases[alias])
embed.add_field(name=f"{alias}", value=aliases[alias])

await interaction.response.send_message(embed=embed)

Expand Down
Loading