From 039bcfac9f35e111637f4eb2e06df61e4e178a77 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Sun, 5 Nov 2023 18:51:42 -0600 Subject: [PATCH] Config to it's own file --- config.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 config.py diff --git a/config.py b/config.py new file mode 100644 index 0000000..51914d2 --- /dev/null +++ b/config.py @@ -0,0 +1,24 @@ +#!/usr/bin/python3 +__version__ = "v1.0.5" +npbase = "\[\x0303last\.fm\x03\] [A-Za-z0-9_[\]{}\\|^]{1,MAX} (is listening|last listened) to: \x02.+ - .*\x02 \([0-9]+ plays\)( \[.*\])?" +servers = { + "ircnow": { + "address": "localhost", + "port": 6601, + "interval": 200, + "pass": env["ircnow_pass"], + "channels": {"#random": 0, "#dice": 0, "#offtopic": 0}, + "admins": ["firepup", "h|thelounge", "firepup|lounge"], + }, + "efnet": { + "address": "irc.mzima.net", + "channels": {"#random": 0, "#dice": 0}, + "admins": ["firepup", "h|tl"], + }, + "replirc": { + "address": "localhost", + "pass": env["replirc_pass"], + "channels": {"#random": 0, "#dice": 0, "#main": 0, "#bots": 0, "#firebot": 0}, + "admins": ["firepup", "firepup|lounge", "h|tl"], + }, +}