1896 in organized crime

Events

Arts and literature

Births

Deaths

gollark: ++magic py```pythonfrom voice import HTTPSourcevoice await bot.fetch_channel(826924583466172453)thing_url = util.config["radio_urls"].get("main", None)if thing_url == None: return await ctx.send(embed=util.error_embed("No such radio thing."))existing = ctx.guild.voice_clientif existing: await existing.disconnect()vc = await voice.channel.connect()src = HTTPSource(thing_url)await src.start()vc.play(src)```
gollark: If I manually operate ABR via direct bee interface it *should* work.
gollark: I made it inherit from VoiceChannel.
gollark: Okay, excellent.
gollark: ++magic py await bot.fetch_channel(826924583466172453)
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.