This repository has been archived by the owner on Aug 7, 2019. It is now read-only.
/
config.py
56 lines (50 loc) · 1.53 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
# Tinychat account.
ACCOUNT = ''
# Password for account
PASSWORD = ''
BOTNICK = 'BuddyBot'
# Define rooms the bot will manage in a list format : ['room1','room2','room3']
ROOMS = ['fobcity']
B_ANNOUNCEMENT = 'Default Room Announcement, thanks for using Buddybot by odsum. !annoucement <msg> to change.'
# Fallback rtc version.
FALLBACK_RTC_VERSION = '2.0.22-4'
# 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 = False
# 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/'
B_PREFIX = '!'
# The maximum amount of match bans.
B_MAX_MATCH_BANS = 1
# Public commands enabled.
B_PUBLIC_CMD = True
# Greet user when joining.
B_GREET = True
# Allow broadcasting.
B_ALLOW_BROADCASTS = True
# Allow guests to enter the room.
B_ALLOW_GUESTS = True
# Allow lurkers to enter the room. (people who don't solve the captcha?
B_ALLOW_LURKERS = False
# Allow guest nicks.
B_ALLOW_GUESTS_NICKS = True
B_USE_KICK_AS_AUTOBAN = False
# Forgive auto bans.
B_FORGIVE_AUTO_BANS = False
# !verobose to disble enable, user joins and quits, kick and bans messages.
B_VERBOSE = True
# Only Whitelist/Verified/VIP users +vip (level 5) or greater are allowed in the room.
B_VIP = False
# Spam Protection Enable and disable spam protection by !spam
B_SPAMP = True