From 1646be3c47c0dcff321f70a37ba13914332e8f40 Mon Sep 17 00:00:00 2001 From: Skyflare Date: Sat, 26 Aug 2023 08:42:08 +0300 Subject: [PATCH] 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 --- bot.py | 2 +- requirements.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 requirements.txt diff --git a/bot.py b/bot.py index 9e12452..01a2940 100755 --- a/bot.py +++ b/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) diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..582cdf1 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +python >=3.9 +irctokens ~=0.6.6 +ircrobots ~=2.0.2