change ConnectionParams parameters to work with an undocumented breaking change introduced in ircrobots sometime before v0.6.6

This commit is contained in:
Skyflare 2023-08-25 11:18:39 +03:00
parent d2611ca615
commit 9bd7de6840
1 changed files with 1 additions and 1 deletions

2
bot.py
View File

@ -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)