mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
asd
This commit is contained in:
parent
3a5ff26e37
commit
e1eee4d41d
1 changed files with 1 additions and 0 deletions
|
@ -599,6 +599,7 @@ async def queue_play_next_video():
|
|||
voice_player.start()
|
||||
if now_playing.enqueuer is not None:
|
||||
session = await loop.run_in_executor(executor, db.Session)
|
||||
enqueuer = await loop.run_in_executor(executor, db.session.query(db.Discord).filter_by(discord_id=now_playing.enqueuer.id).one_or_none)
|
||||
played_music = db.PlayedMusic(enqueuer=now_playing.enqueuer,
|
||||
filename=str(now_playing),
|
||||
timestamp=datetime.datetime.now())
|
||||
|
|
Loading…
Reference in a new issue