Skip to content

Commit

Permalink
Update bot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MeatyChunks authored Apr 21, 2024
1 parent 9dcdf5a commit 1cf1656
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions redbot/core/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ async def prefix_manager(bot, message) -> List[str]:
if cli_flags.mentionable:
return when_mentioned_or(*prefixes)(bot, message)
return prefixes

if "command_prefix" not in kwargs:
kwargs["command_prefix"] = prefix_manager

Expand Down

0 comments on commit 1cf1656

Please sign in to comment.