Skip to content

Instantly share code, notes, and snippets.

@LudusLight
Created April 23, 2019 20:39
Show Gist options
  • Save LudusLight/4c06dc1028bb7cd2396667ee8b726b8b to your computer and use it in GitHub Desktop.
Save LudusLight/4c06dc1028bb7cd2396667ee8b726b8b to your computer and use it in GitHub Desktop.
Generate voice channel video link
import discord
class MyClient(discord.Client):
async def on_message(self, message):
if message.content == ".vidlink":
await message.channel.send("<https://discordapp.com/channels/"+str(message.guild.id)+"/"+str(message.author.voice.channel.id)+">")
client = MyClient()
client.run('token')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment