-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.py
72 lines (71 loc) · 1.94 KB
/
config.py
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# This file holds pinylib's configuration.
# Tinychat account.
ACCOUNT = ''
# Password for account
PASSWORD = ''
# The swf version that tinychat is currently using.
SWF_VERSION = '0677'
# Log chat messages and events.
CHAT_LOGGING = True
# 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
# Enable auto job (recommended)
ENABLE_AUTO_JOB = True
# Time format.
USE_24HOUR = True
# Reset the run time after a reconnect.
RESET_INIT_TIME = False
# Reconnect delay in seconds.
RECONNECT_DELAY = 10
# Auto job interval in seconds.
AUTO_JOB_INTERVAL = 360
# The name of pinylib's debug log file.
DEBUG_FILE_NAME = 'pinylib_debug.log'
# The path to the config folder.
CONFIG_PATH = 'rooms/'
# This section holds the bot's configuration.
# https://github.com/Tinychat/Tinychat-Bot/wiki
# The prefix used for bot commands.
B_PREFIX = '!'
# Bot controller key.
B_KEY = 'fy7djei'
# Bot super key.
B_SUPER_KEY = 'sa83jk4ls'
# The maximum amount of match bans.
B_MAX_MATCH_BANS = 1
# Public commands enabled.
B_PUBLIC_CMD = True
# Greet user when joining.
B_GREET = False
# Allow newuser to join the room.
B_ALLOW_NEWUSERS = True
# Allow broadcasting.
B_ALLOW_BROADCASTS = 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
# Forgive auto bans.
B_FORGIVE_AUTO_BANS = 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'