-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
109 lines (100 loc) · 2.74 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
################################################################################
# IRC CONFIGURATION
#
# This configuration file contains all the necessary settings for connecting to
# an IRC server and interacting with it.
#
# Please make sure to update the values below according to your needs.
###############################################################################
# IRC server address
#
# This should be the address of the IRC server that you want to connect to.
#
# Examples:
# 'irc.example.com'
##
BSERVER = 'irc.example.net'
# IRC server port number
#
# This should be the port number of the IRC server.
#
# If the port number starts with a '+' sign, it will be treated as an SSL/TLS
# port and the connection will be made using SSL/TLS.
#
# Examples:
# 6667 (plain text)
# +6697 (SSL/TLS)
##
BPORT = '+6697'
# Desired nickname for the bot
#
# This should be the nickname that you want the bot to use when connecting to
# the IRC server.
#
# Examples:
# 'MyBot'
# 'BottyMcBotface'
##
BNICK = 'elitebot'
# Desired ident for the bot
#
# This should be the ident that you want the bot to use when connecting to the
# IRC server.
#
# Examples:
# 'mybot'
# 'bot'
##
BIDENT = 'elitebot'
# Desired name for the bot
#
# This should be the name that you want the bot to use when connecting to the
# IRC server.
#
# Examples:
# 'My Bot'
# 'The Bot'
##
BNAME = 'elitebot'
# Use SASL authentication
#
# Set this to True to use SASL authentication when connecting to the IRC server,
# or False to disable SASL authentication.
#
# SASL authentication is an optional feature that allows you to authenticate
# with the IRC server using a separate username and password, instead of using
# the nickname and ident as credentials.
#
# If you set this to True, you will also need to provide a SASL username and
# password in the SANICK and SAPASS variables, respectively.
##
UseSASL = False
# Use SSL/TLS with certificate verification
#
# Set this to True to use SSL/TLS with certificate verification when connecting
# to the IRC server, or False to disable SSL/TLS.
#
# SSL/TLS is an optional feature that allows you to establish a secure,
# encrypted connection to the IRC server. Certificate verification ensures that
# the server's SSL/TLS certificate is valid and issued by a trusted authority.
#
# If you set this to True, you will also need to use an SSL/TLS port number in
# the BPORT variable.
##
SSLCERT = True
# SASL username
#
# This should be the SASL username that you want to use for SASL authentication.
# Only needed if UseSASL is True.
#
# Examples:
# 'mybot'
# 'bottymcbotface'
##
SANICK = 'username'
# SASL password
#
# This should be the SASL password that you want to use for SASL authentication.
# Only needed if UseSASL is True.
##
SAPASS = 'password'