Fix for bulletin issue - Info and News was swapped on line 151 [issue #28]

This commit is contained in:
Vince Loschiavo 2024-06-29 16:33:51 -07:00
parent b4477eebe9
commit db71bd771b

View file

@ -148,7 +148,7 @@ def handle_stats_steps(sender_id, message, step, interface, bbs_nodes):
def handle_bb_steps(sender_id, message, step, state, interface, bbs_nodes):
boards = {0: "General", 1: "News", 2: "Info", 3: "Urgent"}
boards = {0: "General", 1: "Info", 2: "News", 3: "Urgent"}
if step == 1:
if message == '4':
@ -397,4 +397,4 @@ def handle_channel_directory_steps(sender_id, message, step, state, interface):
channel_name = state['channel_name']
add_channel(channel_name, channel_url)
send_message(f"Your channel '{channel_name}' has been added to the directory.", sender_id, interface)
handle_channel_directory_command(sender_id, interface)
handle_channel_directory_command(sender_id, interface)