mirror of
https://github.com/TheCommsChannel/TC2-BBS-mesh.git
synced 2025-03-05 20:51:53 -08:00
trunk fix
This commit is contained in:
parent
6a8930cdfd
commit
fc2a8870a2
|
@ -84,6 +84,7 @@ def handle_fortune_command(sender_id, interface):
|
||||||
if not fortunes:
|
if not fortunes:
|
||||||
send_message("No fortunes available.", sender_id, interface)
|
send_message("No fortunes available.", sender_id, interface)
|
||||||
return
|
return
|
||||||
|
# trunk-ignore(bandit/B311)
|
||||||
fortune = random.choice(fortunes).strip()
|
fortune = random.choice(fortunes).strip()
|
||||||
decorated_fortune = f"🔮 {fortune} 🔮"
|
decorated_fortune = f"🔮 {fortune} 🔮"
|
||||||
send_message(decorated_fortune, sender_id, interface)
|
send_message(decorated_fortune, sender_id, interface)
|
||||||
|
|
Loading…
Reference in a new issue