set mode -x, i should put this in the config file
This commit is contained in:
parent
500f689774
commit
59d44640d7
|
@ -8,6 +8,10 @@ import irclib
|
||||||
|
|
||||||
# handler for when the bot has connected to IRC
|
# handler for when the bot has connected to IRC
|
||||||
def on_connect(connection, event):
|
def on_connect(connection, event):
|
||||||
|
# user modes
|
||||||
|
# TODO: config file
|
||||||
|
connection.mode(nick, '-x')
|
||||||
|
|
||||||
# join the specified channel
|
# join the specified channel
|
||||||
# TODO: support multiple
|
# TODO: support multiple
|
||||||
if irclib.is_channel(channel):
|
if irclib.is_channel(channel):
|
||||||
|
|
Loading…
Reference in New Issue