diff --git a/General.py b/General.py index 3cf5a3f..c424a23 100644 --- a/General.py +++ b/General.py @@ -145,15 +145,11 @@ class General(commands.Cog): @commands.command(pass_context=True) @asyncio.coroutine def playlist(self, ctx): - """HDcon2020 playlist""" + """HDcon2021 playlist""" muzak_url = 'https://hdcon-muzak.herokuapp.com' data = json.loads(requests.get(muzak_url + '/stroopwafel').content) # als dit faalt yolo no catch msg = 'Stemmen en nomineren kan hier: {}\n'.format(muzak_url) msg += '*Er zijn al {} nummers genomineerd*\n'.format(data['stemCount']) - msg += '**High scores:**\n```' - for user in data['userList']: - msg += '{} {}\n'.format((user['name']+":").ljust(9), user['score']) - msg += '```' yield from ctx.channel.send(msg) @commands.command(pass_context=True, hidden=True)