Shorten station name to 12 chars
This commit is contained in:
@ -404,7 +404,7 @@ class MumbleBot:
|
|||||||
msg += '!rbplay ID - Station Name'
|
msg += '!rbplay ID - Station Name'
|
||||||
for s in rb_stations:
|
for s in rb_stations:
|
||||||
stationid = s['id']
|
stationid = s['id']
|
||||||
stationname = s['stationname']
|
stationname = s['stationname'][:12]
|
||||||
msg += f'{stationid} - {stationname}'
|
msg += f'{stationid} - {stationname}'
|
||||||
if len(msg) < 5000:
|
if len(msg) < 5000:
|
||||||
self.send_msg(msg, text)
|
self.send_msg(msg, text)
|
||||||
|
Reference in New Issue
Block a user