-
Notifications
You must be signed in to change notification settings - Fork 50
/
example_config.py
48 lines (36 loc) · 1.35 KB
/
example_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
# Example config for triviabot
#
# This file is part of triviabot
# Web site: https://github.com/rawsonj/triviabot)
#
# Copy this file to 'config.py', then edit 'config.py' to
# set your preferences.
GAME_CHANNEL = '#triviachannel'
# Nick of person running this bot? (the nick included here will be
# automatically added to the list of ADMINS)
# It will be displayed to user when ?help option is run
OWNER = 'bot_owner'
ADMINS = ['admin']
# or a comma separated list
# ADMINS = ['admin','admin2']
Q_DIR = './questions/'
SAVE_DIR = './savedata/'
IDENT_STRING = 'password'
# Time (in seconds) between clues, and the wait time between questions.
# If ?skip is used, the interval doesn't apply
WAIT_INTERVAL = 30
# Colorize the text so it contrasts with the channel text.
# This makes it easier to play the game when people are chatting.
#
# \003 is the color-code prefix, the next two numbers
# is the foreground code, the last two numbers is the background code.
# A more in-depth explanation is at http://en.wikichip.org/wiki/irc/colors
COLOR_CODE = '\00308,01'
# How fast will the bot output messages to the channel
LINE_RATE = 0.4
DEFAULT_NICK = 'triviabot'
SERVER = 'irc.freenode.net'
# Some servers support SSL, and some do not. If you have trouble connecting
# to your IRC network, you may have to disable SSL or change the server port
SERVER_PORT = 6667
USE_SSL = "YES"