fix a bug in the now function
This commit is contained in:
parent
240da44f2f
commit
30cfae3c2f
1 changed files with 1 additions and 2 deletions
|
@ -87,8 +87,7 @@ async def now(ctx):
|
||||||
playhead = await query_playhead()
|
playhead = await query_playhead()
|
||||||
stream_name = playhead['name']
|
stream_name = playhead['name']
|
||||||
stream_prio = playhead['prio']
|
stream_prio = playhead['prio']
|
||||||
return f'Now playing {stream_name} (prio={stream_prio})'
|
await ctx.channel.send(f'Now playing {stream_name} (prio={stream_prio})')
|
||||||
await ctx.channel.send(head)
|
|
||||||
|
|
||||||
@bot.command(name='rec', help='Start the recorder')
|
@bot.command(name='rec', help='Start the recorder')
|
||||||
@has_role(boss_role_name)
|
@has_role(boss_role_name)
|
||||||
|
|
Loading…
Add table
Reference in a new issue