mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-03-28 17:32:36 +01:00
Update mesh_bot.py
This commit is contained in:
@@ -855,6 +855,8 @@ def quizHandler(message, nodeID, deviceID):
|
||||
user_answer = ''
|
||||
user_answer = message.lower()
|
||||
user_answer = user_answer.replace("quiz","").replace("q:","").strip()
|
||||
if user_answer.startswith("!") and cmdBang:
|
||||
user_answer = user_answer[1:].strip()
|
||||
if user_answer:
|
||||
if user_answer.startswith("start"):
|
||||
msg = quizGamePlayer.start_game(user_id)
|
||||
|
||||
Reference in New Issue
Block a user