|
|
|
@ -162,8 +162,7 @@ class Bot(discord.Client):
|
|
|
|
|
payload['feed']['entry']['reminder'] = '{0}m'.format(minutes)
|
|
|
|
|
Timer.schedule(scheduled_start - datetime.timedelta(minutes=minutes), payload)
|
|
|
|
|
note = 'Live in {0} minutes!\n'.format(int(remaining / 60))
|
|
|
|
|
mention = channel.guild.default_role.mention
|
|
|
|
|
await channel.send('{mention} {note}**{title}**\n{link}'.format(mention=mention, note=note, **video))
|
|
|
|
|
await channel.send('@everyone {note}**{title}**\n{link}'.format(note=note, **video))
|
|
|
|
|
|
|
|
|
|
def make_youtube_embed(self, playlist):
|
|
|
|
|
embed = discord.Embed(
|
|
|
|
|