From fa3243b77d32b84ad0af48f8e20a675cf34a021e Mon Sep 17 00:00:00 2001 From: elpatron68 Date: Sat, 27 Jul 2019 18:22:24 +0200 Subject: [PATCH] Add rbquery string --- configuration.default.ini | 1 + mumbleBot.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/configuration.default.ini b/configuration.default.ini index 2c03e5c..62a46f6 100644 --- a/configuration.default.ini +++ b/configuration.default.ini @@ -104,6 +104,7 @@ no_possible = it's not possible to do that removing_item = Removing entry %s from queue user_ban = You are ban, not allowed to do that ! url_ban = This url isn't allowed ! +rbqueryresult = This is the result of your query help = Command available:
!file [path] diff --git a/mumbleBot.py b/mumbleBot.py index a7b403a..4e834c1 100644 --- a/mumbleBot.py +++ b/mumbleBot.py @@ -363,6 +363,8 @@ class MumbleBot: self.send_msg(var.config.get('strings', 'bad_url')) elif command == var.config.get('command', 'rb_query'): logging.info('Querying radio stations') + msg = var.config.get( + 'strings', 'rbqueryresult') + " :" if not parameter: logging.info('rbquery without parameter') else: