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:
parent
d2611ca615
commit
1646be3c47
2
bot.py
2
bot.py
|
@ -194,7 +194,7 @@ async def main():
|
||||||
botnick = entry['opts']['nickname']
|
botnick = entry['opts']['nickname']
|
||||||
channels = entry['opts']['channels']
|
channels = entry['opts']['channels']
|
||||||
|
|
||||||
params = ConnectionParams(botnick, server, 6697, True)
|
params = ConnectionParams(botnick, server, 6697)
|
||||||
for channel in channels:
|
for channel in channels:
|
||||||
params.autojoin.append(channel)
|
params.autojoin.append(channel)
|
||||||
print("Reading channel", channel)
|
print("Reading channel", channel)
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
python >=3.9
|
||||||
|
irctokens ~=0.6.6
|
||||||
|
ircrobots ~=2.0.2
|
Loading…
Reference in New Issue