mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-04 17:01:03 +02:00
Update pong_bot.py
This commit is contained in:
@@ -11,8 +11,6 @@ import meshtastic.ble_interface
|
||||
from datetime import datetime
|
||||
import configparser, os
|
||||
|
||||
|
||||
|
||||
trap_list = ("ping", "pinging", "ack", "testing", "test", "pong", "motd", "cmd", "lheard", "sitrep") #A list of strings to trap and respond to
|
||||
welcome_message = "PongBot, here for you like a friend who is not. Try sending: ping @foo or, cmd"
|
||||
help_message = "Commands are: ping, ack, motd, Lheard. Use 'motd $foo' to set MOTD."
|
||||
@@ -46,7 +44,6 @@ else:
|
||||
print(f"System: Interface Type: {interface_type} not supported. Validate your config against config.template Exiting")
|
||||
exit()
|
||||
|
||||
|
||||
try:
|
||||
myinfo = interface.getMyNodeInfo()
|
||||
myNodeNum = myinfo['num']
|
||||
|
||||
Reference in New Issue
Block a user