Skip to content

Commit

Permalink
Merge pull request #45 from SEbbaDK/bugfix/auto-add
Browse files Browse the repository at this point in the history
Bugfix, wrong variable being checked in auto-add
  • Loading branch information
Nogzi authored Oct 22, 2021
2 parents ed074da + 27d2e66 commit 3a76b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonica.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ async def func(channel):

enumerators[ctx.message.channel.id] = EnumeratedOption(options)

if len(enumerators) == 1:
if len(options) == 1:
text = "I found a single song"
await ctx.message.channel.send(text)
return await ctx.message.channel.send(await options["1"](ctx.message.channel))
Expand Down

0 comments on commit 3a76b53

Please sign in to comment.