From fafb376f68d00ef9021ab62670697065833f68df Mon Sep 17 00:00:00 2001 From: Thomas Voss <57815710+Mango0x45@users.noreply.github.com> Date: Wed, 24 Jun 2020 09:25:38 +0200 Subject: Update utils.py --- cogs/utils.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'cogs') diff --git a/cogs/utils.py b/cogs/utils.py index f45a5e7..90498e6 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -143,12 +143,7 @@ class Utils(commands.Cog): for coolKid in coolKids: if datetime.date.today() == coolKid[2]: - try: - for i in range(self.tries): - await coolKid[1].send(f'Happy Birthday {coolKid[0]}! You\'re a boomer now! :mango:') - self.tries = 1 - except: - self.tries +=1 + await coolKid[1].send(f'Happy Birthday {coolKid[0]}! You\'re a boomer now! :mango:') for word in badWords: if word in message.content.lower(): -- cgit v1.2.3