import from json
This commit is contained in:
@@ -69,9 +69,7 @@ bot.onText(/\/admin/, async (msg) => {
|
||||
|
||||
// Handle user menu buttons
|
||||
bot.on('message', async (msg) => {
|
||||
if (!msg.text) return;
|
||||
|
||||
if (msg.text.toLowerCase() === '/start') {
|
||||
if (msg.text && msg.text.toLowerCase() === '/start') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user