Fix unmutes

This commit is contained in:
Zeva Rose 2021-07-22 12:14:56 -06:00
parent 65868ee63a
commit d73727612a

View file

@ -36,7 +36,7 @@ jarvis = commands.Bot(
)
slash = SlashCommand(jarvis, sync_commands=True, sync_on_cog_reload=True)
jarvis_self = Process()
__version__ = "1.2.3"
__version__ = "1.2.4"
db = DBManager(get_config().mongo).mongo
@ -247,7 +247,7 @@ async def on_guild_join(guild):
@loop(minutes=1)
async def unmute():
mutes = Mute.get_active(duration={"$gt": 0})
mute_roles = Setting.get(setting="mute")
mute_roles = Setting.get_many(setting="mute")
updates = []
for mute in mutes:
if (