mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-11 13:19:57 +00:00
Fixed spacing in gay
This commit is contained in:
parent
009881efc2
commit
78625caf24
@ -1,4 +1,4 @@
|
|||||||
module.exports = function(bot, msg) {
|
module.exports = function (bot, msg) {
|
||||||
const chatId = msg.chat.id;
|
const chatId = msg.chat.id;
|
||||||
const userName = msg.from.first_name;
|
const userName = msg.from.first_name;
|
||||||
const userId = msg.from.id;
|
const userId = msg.from.id;
|
||||||
@ -21,4 +21,4 @@ module.exports = function(bot, msg) {
|
|||||||
bot.sendMessage(chatId, message)
|
bot.sendMessage(chatId, message)
|
||||||
.catch(error => console.error('ERROR: Message cannot be sent:', error));
|
.catch(error => console.error('ERROR: Message cannot be sent:', error));
|
||||||
console.log(`INFO: /gay executed by ${userName}, ${userId}`)
|
console.log(`INFO: /gay executed by ${userName}, ${userId}`)
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user