forked from nortxort/tinybot-rtc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
58 lines (57 loc) · 1.5 KB
/
config.py
File metadata and controls
58 lines (57 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Tinychat account.
ACCOUNT = ''
# Password for account
PASSWORD = ''
# Fallback rtc version.
FALLBACK_RTC_VERSION = '2.0.22-4'
# Log chat messages and events.
CHAT_LOGGING = False
# Show additional info/errors in console.
DEBUG_MODE = False
# Log debug info to file.
DEBUG_TO_FILE = False
# Logging level for the debug file.
DEBUG_LEVEL = 30
# Use colors for the console.
CONSOLE_COLORS = True
# Time format.
USE_24HOUR = True
# The name of pinylib's debug log file.
DEBUG_FILE_NAME = 'pinylib_debug.log'
# The path to the config folder.
CONFIG_PATH = 'rooms/'
# bot
# The prefix used for bot commands.
B_PREFIX = '!'
# Bot controller key.
B_KEY = 'gyas7yd7'
# Bot super key.
B_SUPER_KEY = '7xdu77dasi2'
# The maximum amount of match bans.
B_MAX_MATCH_BANS = 2
# Public commands enabled.
B_PUBLIC_CMD = True
# Greet user when joining.
B_GREET = True
# Allow guests to enter the room.
B_ALLOW_GUESTS = True
# Allow lurkers to enter the room.
B_ALLOW_LURKERS = True
# Allow guest nicks.
B_ALLOW_GUESTS_NICKS = False
# Use kick instead of ban for auto banning.
B_USE_KICK_AS_AUTOBAN = True
# The file name of nick bans.
B_NICK_BANS_FILE_NAME = 'nick_bans.txt'
# A list of all the nick bans.
B_NICK_BANS = []
# The file name of account bans.
B_ACCOUNT_BANS_FILE_NAME = 'account_bans.txt'
# A list of account bans.
B_ACCOUNT_BANS = []
# The file name of string(words) bans.
B_STRING_BANS_FILE_NAME = 'string_bans.txt'
# A list of string bans.
B_STRING_BANS = []
# The name of the bot's debug file.
B_DEBUG_FILE_NAME = 'tinybot_debug.log'