aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2022-05-27 22:57:26 +0100
committerGravatar GitHub <[email protected]>2022-05-27 21:57:26 +0000
commit8e1c6858d517c0328500d317531d6ae8e28ec70b (patch)
treef072b2d114f478a47843497e86f5f45324075eef
parentMerge pull request #2177 from python-discord/fix-tag-stats (diff)
Remove rediscache from thread bumper now it's been migrated (#2161)
Co-authored-by: Xithrius <[email protected]>
-rw-r--r--bot/exts/utils/thread_bumper.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/bot/exts/utils/thread_bumper.py b/bot/exts/utils/thread_bumper.py
index 7ffb79d5e..a2f208484 100644
--- a/bot/exts/utils/thread_bumper.py
+++ b/bot/exts/utils/thread_bumper.py
@@ -1,7 +1,6 @@
import typing as t
import discord
-from async_rediscache import RedisCache
from botcore.site_api import ResponseCodeError
from discord.ext import commands
@@ -18,9 +17,6 @@ THREAD_BUMP_ENDPOINT = "bot/bumped-threads"
class ThreadBumper(commands.Cog):
"""Cog that allow users to add the current thread to a list that get reopened on archive."""
- # RedisCache[discord.Thread.id, "sentinel"]
- threads_to_bump = RedisCache()
-
def __init__(self, bot: Bot):
self.bot = bot