Skip to content

Commit

Permalink
Update Configuration.py (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotLukas001 authored Jan 6, 2025
1 parent c850db9 commit ab6d324
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cogs/Configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ async def callback_override(interaction: discord.Interaction, *args, **kwargs):
discord.SelectOption(
label=":",
description="Use ':' as your custom prefix."
),
discord.SelectOption(
label="-",
description="Use '-' as your custom prefix."
)
])
prefix = prefix_view.children[0]
Expand Down Expand Up @@ -516,7 +520,7 @@ async def _config(self, ctx: commands.Context):
['CUSTOM_CONF', {
'_FIND_BY_LABEL': True
}],
settings['customisation'].get('prefix') if settings['customisation'].get('prefix') in ['!', '>', '?', ':'] else None
settings['customisation'].get('prefix') if settings['customisation'].get('prefix') in ['!', '>', '?', ':', '-'] else None
]

)
Expand Down

0 comments on commit ab6d324

Please sign in to comment.