From c0990695382d9da424a5422c22092ada485d73d6 Mon Sep 17 00:00:00 2001 From: David Sangrey Date: Sat, 26 Mar 2022 18:57:39 -0400 Subject: [PATCH] [Halpy-123a] Fix incorrect argument in partchannel --- halpybot/commands/settings.py | 2 +- requirements.txt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/halpybot/commands/settings.py b/halpybot/commands/settings.py index b30f6985..c71ae188 100644 --- a/halpybot/commands/settings.py +++ b/halpybot/commands/settings.py @@ -171,7 +171,7 @@ async def cmd_part(ctx: Context, args: List[str]): if len(args) == 0: return await ctx.reply(get_help_text("partchannel")) try: - await ctx.bot.part(message=f"Parted by {ctx.sender}", channel=ctx.channel) + await ctx.bot.part(message=f"Parted by {ctx.sender}", channel=args[0]) return await ctx.redirect(f"Bot parted channel {args[0]}") except pydle.client.NotInChannel: return await ctx.reply("Bot is not in that channel!") diff --git a/requirements.txt b/requirements.txt index fe05fedd..04d6f0a5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,14 +1,14 @@ pydle~=0.9.4 pure-sasl~=0.6.2 -setuptools~=60.10.0 +setuptools~=61.1.0 mysql-connector~=2.2.9 mysql~=0.0.3 numpy~=1.22.3 -aiodns==3.0.0 +aiodns~=3.0.0 pytest~=7.1.0 -boto3==1.21.23 +boto3~=1.21.27 aiohttp~=3.8.1 -tweepy~=4.7.0 +tweepy~=4.8.0 Brotli~=1.0.9 GitPython~=3.1.27 requests~=2.27.1