update ConnectionParams parameters in bot.py to support ircrobots v0.6.6

parialy closes issue #6
parameters of function ConnectionParams from ircrobots were changed in but never documented properly
BREAKING CHANGE: requires ircrobots v0.6.6 instead of v0.6.1
This commit is contained in:
Skyflare 2023-08-26 08:42:08 +03:00
parent d2611ca615
commit 1646be3c47
2 changed files with 4 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)

3
requirements.txt Normal file
View File

@ -0,0 +1,3 @@
python >=3.9
irctokens ~=0.6.6
ircrobots ~=2.0.2