Skip to content

Commit 1e2ed9b

Browse files
committed
BUGFIX:
- Commands: command prefix printed wrong
1 parent e7f4591 commit 1e2ed9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/commands/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Commands(Plugin):
1717
def __init__(self, bot: DCSServerBot):
1818
super().__init__(bot)
1919
self.commands: dict[str, dict] = dict()
20-
self.prefix = self.bot.command_prefix
20+
self.prefix = self.bot.locals.get('command_prefix', '.')
2121
self.register_commands()
2222

2323
async def cog_unload(self):

0 commit comments

Comments
 (0)