change ConnectionParams parameters to work with an undocumented breaking change introduced in ircrobots sometime before v0.6.6
This commit is contained in:
parent
d2611ca615
commit
9bd7de6840
2
bot.py
2
bot.py
|
@ -194,7 +194,7 @@ async def main():
|
|||
botnick = entry['opts']['nickname']
|
||||
channels = entry['opts']['channels']
|
||||
|
||||
params = ConnectionParams(botnick, server, 6697, True)
|
||||
params = ConnectionParams(botnick, server, 6697)
|
||||
for channel in channels:
|
||||
params.autojoin.append(channel)
|
||||
print("Reading channel", channel)
|
||||
|
|
Loading…
Reference in New Issue