|
@@ -50,7 +50,11 @@ class Rollbot(Generic[RawMsg]):
|
|
|
|
|
|
message.command = Command.from_text(message.text)
|
|
|
if message.command is None or message.command.bang not in self.command_config.bangs:
|
|
|
- return
|
|
|
+ if not message.force_command:
|
|
|
+ return
|
|
|
+ message.command = Command.from_text(self.command_config.bangs[0] + message.text)
|
|
|
+ if message.command is None:
|
|
|
+ return
|
|
|
|
|
|
command = self.command_config.aliases.get(message.command.name, message.command.name)
|
|
|
await self.on_command(incoming, message, command)
|