Migrated from keys to set datastructure in Redis

This commit is contained in:
2021-11-04 20:05:48 +01:00
parent 3c9772b8f1
commit c54f54ef47
5 changed files with 29 additions and 23 deletions
+2 -2
View File
@@ -11,6 +11,7 @@ import lavalink
from bot import ChristmasBot
from utils.EmbedGenerator import EmbedGenerator
from utils.paginator import HelpPaginator
from utils.database import AutoJoin
class InformationCog(commands.Cog, name="Information"):
@@ -78,8 +79,7 @@ class InformationCog(commands.Cog, name="Information"):
)
await ctx.send(fmt)
from utils import database
database.AutoJoin.get_channels()
AutoJoin.get_channels()
@commands.command(name="help", aliases=["about", "info"], slash_command=True)
@commands.cooldown(1, 1, commands.BucketType.user)