mirror of
https://github.com/Cyclenerd/meshcore-bot.git
synced 2026-03-28 17:42:46 +01:00
hops
This commit is contained in:
@@ -66,7 +66,7 @@ async function onChannelMessageReceived(message) {
|
||||
// handle commands only in own channels, not in public channel with id 0
|
||||
if(message.channelIdx > 0){
|
||||
if(message.text.includes("!ping")){
|
||||
await connection.sendChannelTextMessage(message.channelIdx, "PONG! 🏓");
|
||||
await connection.sendChannelTextMessage(message.channelIdx, "PONG! 🏓 (" + message.pathLen + ")");
|
||||
return;
|
||||
}
|
||||
if(message.text.includes("!date")){
|
||||
|
||||
Reference in New Issue
Block a user