Skip to content

Commit

Permalink
[Halpy-123a] Fix incorrect argument in partchannel
Browse files Browse the repository at this point in the history
  • Loading branch information
Rixxan committed Mar 26, 2022
1 parent f7e36fc commit c099069
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion halpybot/commands/settings.py
Expand Up @@ -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!")
Expand Down
8 changes: 4 additions & 4 deletions 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
Expand Down

0 comments on commit c099069

Please sign in to comment.