Merge pull request 'feature/admin-section' (#22) from feature/admin-section into main

Reviewed-on: https://git.softuniq.eu/Telegram-Market/telegram-shop/pulls/22
This commit is contained in:
1323ed5 2024-11-15 12:45:54 +00:00
commit aed9a2ba56

View File

@ -79,16 +79,6 @@ bot.on('message', async (msg) => {
return;
}
if (msg.text.toLowerCase() === '/start') {
return;
}
const canUse = await userHandler.canUseBot(msg);
if (!canUse) {
return;
}
try {
// Check for admin location input
if (await adminLocationHandler.handleLocationInput(msg)) {