diff --git a/src/bot.js b/src/bot.js index 5bee62b..cd88529 100644 --- a/src/bot.js +++ b/src/bot.js @@ -78,7 +78,10 @@ bot.on("msg:contact", async (ctx) => { const contact = ctx.msg.contact; if (ctx.from.id === contact.user_id) { - if (contact.phone_number.slice(0, 4) !== "+254") { + if ( + contact.phone_number.slice(0, 4) !== "+254" || + contact.phone_number.slice(0, 3) !== "254" + ) { return ctx.reply("Sarafu is only available in Kenya at the moment."); }