countdown-bot

A Discord bot that runs countdown games and generates analytics
git clone https://git.ashermorgan.net/countdown-bot/
Log | Files | Refs | README

commit 0636ea27d94a93636d7b824d072ceb9daae44853
parent 497cb4e3048d2d8d80521fa65f8076d5c865708c
Author: ashermorgan <59518073+ashermorgan@users.noreply.github.com>
Date:   Tue, 29 Jun 2021 11:41:58 -0700

Fix bug in getContextCountdown method

Diffstat:
Msrc/botUtilities.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/botUtilities.py b/src/botUtilities.py @@ -101,7 +101,7 @@ def getContextCountdown(session, ctx, resortToFirst=True): if (isinstance(ctx.channel, discord.channel.TextChannel)): # Countdown channel - countdown = getCountdown(session, ctx.channel.guild.id) + countdown = getCountdown(session, ctx.channel.id) if (countdown): return countdown # Server with countdown channel: get first countdown in this server that use the current prefix