From 41cb342e2a477752843c34b45420c09a51e993de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Wed, 9 Sep 2020 11:09:03 +0200 Subject: [PATCH] Fix @everyone mention --- bot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot.py b/bot.py index d8833f2..d4f6bbe 100644 --- a/bot.py +++ b/bot.py @@ -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(