diff --git a/bot/commands.php b/bot/commands.php index 988f9af..fe03532 100644 --- a/bot/commands.php +++ b/bot/commands.php @@ -49,3 +49,8 @@ sendMessage($update['message']['chat']['id'], '' . getTranslation('not_supported') . ''); } } +// IF a Message type is private and there is no leading '/' +else if($update['message']['chat']['type'] == 'private'){ + // Get Message from User sent to Bot and check what to do + evaluate_priv_message($update); +} \ No newline at end of file