diff options
Diffstat (limited to 'lib/Chat/Command/Executor.php')
-rw-r--r-- | lib/Chat/Command/Executor.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Chat/Command/Executor.php b/lib/Chat/Command/Executor.php index ed71f517f..6548d7418 100644 --- a/lib/Chat/Command/Executor.php +++ b/lib/Chat/Command/Executor.php @@ -93,7 +93,7 @@ class Executor { 'output' => $e->getMessage(), ]), ChatManager::MAX_CHAT_LENGTH); $message->setActor('bots', $command->getName()); - $message->setVerb('command'); + $message->setVerb(ChatManager::VERB_COMMAND); return; } @@ -112,7 +112,7 @@ class Executor { 'output' => $output, ]), ChatManager::MAX_CHAT_LENGTH); $message->setActor('bots', $command->getName()); - $message->setVerb('command'); + $message->setVerb(ChatManager::VERB_COMMAND); } protected function execHelp(Room $room, IComment $message, string $arguments, Participant $participant): string { |