How do i embed a hyperlink to a voice channel? - discord

How do i create an embed which mentions a voice channel.
I have seen this working in a discord server and i want to implement it into my bot.
I want the link to be clickable and when you click you are joining the mentioned voice channel.
I have tried <#channelid> but it just types out the name of the channel, it does not become a link

Apperantly, and I don't know if this is new or not, but just like mentioning a #text-channel it's possible to mention a #!voice-channel.

Use a link containing the server id and channel id
For example:
https://discordapp.com/channels/SERVERID/CHANNELID
You can add [LINK](https://discordapp.com/channels/SERVERID/CHANNELID) to get this => LINK

To mention a text or voice channel you can use <#YOUR_CHANNEL_ID>. This will mention the channel, when clicking on it you'll automatically join the voice channel or open the text channel. (You can use this just in the embed's description or send it as a message without embed)

Related

Is it possible to detect users click emoji on specific channel for specific server?

I think I need some answer from discord api experts.
I'm wondering if someone can detect using bots below logics.
If we enter the server, we will have initial channel. (for example Welcome)
There some rules will be described and we will have emojis like check / symbols for the server.
And after user click, bot can detect the user id and can send direct message to him/her.
Is it possible for the outside guy of the server? (I mean without any discord related api key)
Thanks
Since I don't have exp with this just went through the discord docs, but didn't find proper resources.

Can I create an app or a bot in discord that send messages as it was me?

I want an app/bot that reads the last message that were sent to a specific channel on a server that I participate and depending on the text I want to send a message to that same channel. The thing is, I want to do it in my name, not using a bot id. I know that you can create a bot using your own name and avatar but what I really want is to send a message using my own account. Is that possible? Could not find anything like that in the docs, maybe a missed something?
I do not think you are even allowed to do this so I doubt the discord API would have support for this
Discord Guidelines
"Do not use self-bots or user-bots. Each account must be associated with a human, not a bot. Self-bots put strain on Discord’s infrastructure and our ability to run our services. For more information, you can read our Developer Policies"
However, if you really wanted to do this you could use a macro at the risk of getting your account banned by discord if they found out. You could create a macro in python using the pyautogui module.

How to link a Discord Voice Channel in Chat? [Discord GUI]

How do you link a voice channel in a text channel using the GUI? I know you can link another text channel by using #<channel name> where <channel name> is the channel you want to link but how would you do so for a voice channel?
Currently the only way to do this is to first enable developer mode on discord [User Settings > Appearance > Advanced: Developer Mode: Enable]
Then to link a voice channel, right click on the voice channel to link, click "Copy ID" [see below], then in the text chat type <#IDHERE> where IDHERE must be replaced with the ID you just copied to the clipboard (ie. <#386392044337233922>)
Now this should update to the voice channel you are linking
Likewise you can do this for a thread you want to link

Make it so that a someone cannot react to a discord message until a channel has been deleted

So basically I have a support bot that creates a channel when someone reacts that only staff have access to. In order to prevent abuse I want to make it so that a new channel channel cannot be created by the same person unless the a previously open channel is deleted.
Give your bot access to the AuditLogs will allow you to see who is creating the channels but I suspect that's not gonna help because the bot will be the one creating and deleting the channels, for the discord server he is the owner of the action.
Maybe the only way is to store in the bot code a map of the channel id and his owner (user that typed the command). With this every time a user try to create a new channel you can check on your map if there is any channel active for that user and if there is show some kind of error message.

Create telegram channel in nodejs or angular

Is it possible to have a link,a button, or similar on a website that permits to create a new channel?
E.g., when I click on the link, I send a message with my credentials (phone number is enough i tihink, but not sure) that says "create a new channel called foo".
Is that possible (and if, how can I do that)?
I searched in the telegram API but I had no clue..
I also found this but I have no idea how to do what I want.

Resources