Skip to content

Commit 7ec5489

Browse files
committed
restore this (for /command@otherbotname)
1 parent e74f7d0 commit 7ec5489

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Botan.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ public static function track($input, $command = '')
9595
if ($entity['type'] == 'bot_command' && $entity['offset'] == 0) {
9696
if (strtolower($command) == 'generic') {
9797
$command = 'Generic';
98+
} elseif (strtolower($command) == 'genericmessage') {
99+
$command = 'Generic Message';
98100
} else {
99101
$command = '/' . strtolower($command);
100102
}

0 commit comments

Comments
 (0)