discord.io
discord.io copied to clipboard
A small, single-file library for creating DiscordApp clients from Node.js or the browser
I need to get the userid from the username so that my bot can mention a person given by the user.
hello I was trying to add a new members welcome channel message that contain users name but it didn't work for me can someone suggest a right code for that...
The dependency `ws` is vulnerable in versions >= 0.2.6, < 3.3.1. Patched version: 3.3.1. Affected version of ws are vulnerable to: "a specially crafted value of the Sec-WebSocket-Extensions header that...
I have a music bot and it streams audio from youtube well. Now I want to detect if it is already streaming something. My current code that simply streams is...
Hi Im trying to add audio to my bot but it doesnt work. Tried to follow your example on the wiki; ``` function voice(bot, userId) { file = "goodsound.mp4"; id...
Hey, I just can't find a way to identify a message type. Every message I receive, either in a pulbic channel or via DM, has a type of "0". Does...
is there a way to get the serverids from where the bot is connected to? i want to make sure that no one has added the bot, which is not...
How would I make a bot do send a welcome message when a user first joins the discord server? I tired this code, it doesn't seem to run, it compiled,...
Is it possible with discord io to purge like 10-20 messages? I am trying to clear a channel before it sends messages but the documentation is very scarce on this.