mathWasntMathn'

@mesb1 thanks
This commit is contained in:
SpudGunMan
2025-10-05 09:08:47 -07:00
parent d8d79f46b5
commit 4b0b074ba7
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -523,7 +523,7 @@ I used ideas and snippets from other responder bots and want to call them out!
- **mikecarper**: ideas, and testing. hamtest
- **c.merphy360**: high altitude alerts
- **Iris**: testing and finding 🐞
- **Cisien, bitflip, **Woof**, **propstg**, **trs2982**, **Josh** and Hailo1999**: For testing and feature ideas on Discord and GitHub.
- **Cisien, bitflip, Woof, propstg, trs2982, Josh, mesb1, and Hailo1999**: For testing and feature ideas on Discord and GitHub.
- **Meshtastic Discord Community**: For tossing out ideas and testing code.
### Tools
+2 -1
View File
@@ -2,6 +2,7 @@
# The emoji table of contents is used to replace words in the joke with emojis
# As a Ham, is this obsecuring the meaning of the joke? Or is it enhancing it?
from dadjokes import Dadjoke # pip install dadjokes
import random
from modules.log import *
lameJokes = [
@@ -174,5 +175,5 @@ def tell_joke(nodeID=0):
renderedLaugh = dadjoke.joke
return renderedLaugh
except Exception as e:
return lameJokes[nodeID % len(lameJokes)]
return random.choice(lameJokes)