Add rbquery string

This commit is contained in:
elpatron68 2019-07-27 18:22:24 +02:00
parent 52015af275
commit fa3243b77d
2 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,7 @@ no_possible = it's not possible to do that
removing_item = Removing entry %s from queue removing_item = Removing entry %s from queue
user_ban = You are ban, not allowed to do that ! user_ban = You are ban, not allowed to do that !
url_ban = This url isn't allowed ! url_ban = This url isn't allowed !
rbqueryresult = This is the result of your query
help = Command available: help = Command available:
<br />!file [path] <br />!file [path]

View File

@ -363,6 +363,8 @@ class MumbleBot:
self.send_msg(var.config.get('strings', 'bad_url')) self.send_msg(var.config.get('strings', 'bad_url'))
elif command == var.config.get('command', 'rb_query'): elif command == var.config.get('command', 'rb_query'):
logging.info('Querying radio stations') logging.info('Querying radio stations')
msg = var.config.get(
'strings', 'rbqueryresult') + " :"
if not parameter: if not parameter:
logging.info('rbquery without parameter') logging.info('rbquery without parameter')
else: else: