Fix unmutes
This commit is contained in:
parent
65868ee63a
commit
d73727612a
1 changed files with 2 additions and 2 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Reference in a new issue