mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-12 17:11:20 +01:00
Revert "Set redis guildmember key to empty if remove from server"
This reverts commit bcabb8188a
.
This commit is contained in:
parent
a7ace1029e
commit
10e01c57ed
@ -191,9 +191,7 @@ class RedisQueue:
|
||||
guild_member_key = "Queue/guilds/{}/members/{}".format(guild.id, member.id)
|
||||
list_members_key = "Queue/guilds/{}/members".format(guild.id)
|
||||
await self.connection.srem(list_members_key, [json.dumps({"user_id": member.id}, separators=(',', ':'))])
|
||||
#await self.connection.delete([guild_member_key])
|
||||
await self.connection.set(guild_member_key, "")
|
||||
await self.enforce_expiring_key(guild_member_key)
|
||||
await self.connection.delete([guild_member_key])
|
||||
|
||||
async def update_member(self, member):
|
||||
await self.remove_member(member)
|
||||
|
Loading…
Reference in New Issue
Block a user