diff options
| author | 2019-03-31 20:15:35 +0530 | |
|---|---|---|
| committer | 2019-03-31 20:15:35 +0530 | |
| commit | 57471e2a0eef102aeb0db921154bd59285a75479 (patch) | |
| tree | 89b4c722a7e920beb5594b6caa248c4673af9c92 /bot | |
| parent | fixed lint error: (diff) | |
random selection of youtuber insted of hardcoding google
Diffstat (limited to 'bot')
| -rw-r--r-- | bot/seasons/easter/april_fools_vids.py | 6 | 
1 files changed, 1 insertions, 5 deletions
| diff --git a/bot/seasons/easter/april_fools_vids.py b/bot/seasons/easter/april_fools_vids.py index 6ff572b2..b71beae2 100644 --- a/bot/seasons/easter/april_fools_vids.py +++ b/bot/seasons/easter/april_fools_vids.py @@ -29,11 +29,7 @@ class AprilFoolVideos(commands.Cog):      @commands.command(name='fool')      async def aprial_fools(self, ctx):          """Gets a random april fools video from youtube.""" -        random_youtuber = 'google' - -        # Change the above line of code to "random_youtuber = random.choice(self.youtubers)". -        # I will add more youtubers and their vids in the future, for now only google, Around 30 vids. - +        random_youtuber = random.choice(self.youtubers)          category = self.yt_vids[random_youtuber]          random_vid = random.choice(category)          embed = discord.Embed() | 
