Skip to content
Advertisement

Tag: discord.js

Couldn’t connect to discord via discord RPC

Whenever I try to run my discord.js bot, my code editor says that it couldn’t connect to discord via discord RPC. I’ve looked around and saw nothing that can help me. Can anyone help? Answer Discord just had an outage. You can follow up Discord Updates here. If you wanna read why Discord was offline just now, here is the

Sending private messages to user

I’m using the discord.js library and node.js to create a Discord bot that facilitates poker. It is functional except the hands are shown to everyone, and I need to loop through the players and send them a DM with their hand. This is the code that sends a message to the channel when any user sends a message. I need

How to Play Audio File Into Channel?

How do you play an audio file from a Discord bot? Needs to play a local file, be in JS, and upon a certain message being sent it will join the user who typed the message, and will play the file to that channel. Answer GitHub Project: LINK In order to do this there are a few things you have

Advertisement