aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot.config4
-rwxr-xr-xradiodiodibot2
2 files changed, 3 insertions, 3 deletions
diff --git a/bot.config b/bot.config
index 0dcad5d..72593d0 100644
--- a/bot.config
+++ b/bot.config
@@ -1,5 +1,5 @@
[GENERAL]
-TelegramBotToken=DEFAULT_TOKEN_123
+TelegramBotToken=208028818:AAFAeLDGsjp5vFi_ljdciuTODzRPufldeZo
ShoutboxApiUrl=http://127.0.0.1:8000
TelegramChatID=123
-ApiCallInterval=5 \ No newline at end of file
+ApiCallInterval=5
diff --git a/radiodiodibot b/radiodiodibot
index 4bd53e0..2c1507d 100755
--- a/radiodiodibot
+++ b/radiodiodibot
@@ -36,7 +36,7 @@ parser.add_argument("-t", "--token", help="Telegram Bot API token")
parser.add_argument("-U", "--shoutbox-api-url", help="Shoutbox API URL")
parser.add_argument("-C", "--telegram-chat-id", help="Telegram Chat ID")
parser.add_argument("-v", "--verbose", help="Verbose output", action="store_true")
-parser.add_argument("-i", "--interval", help="Delay between API update calls in seconds", type=int, default=10)
+parser.add_argument("-i", "--interval", help="Delay between API update calls in seconds", type=int)
args = parser.parse_args()
# Show verbose output with the -v option