1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-11-01 13:02:38 +00:00

Fix unawaitable

This commit is contained in:
Myned 2022-03-04 13:19:37 -06:00
parent 342b5a6f0b
commit c638ca0956
No known key found for this signature in database
GPG key ID: 33790F979F7A28B8

View file

@ -522,7 +522,7 @@ async def connect(context):
context.guild_id context.guild_id
] ]
await plugin.d.queue[context.guild_id].clear() plugin.d.queue[context.guild_id].clear()
plugin.d.queue[context.guild_id] = songbird.Queue(driver) plugin.d.queue[context.guild_id] = songbird.Queue(driver)
plugin.d.queue[context.guild_id].extend(sources) plugin.d.queue[context.guild_id].extend(sources)
elif context.guild_id not in plugin.d.queue: elif context.guild_id not in plugin.d.queue: