How to get a member's discord id using javascript?
Hi, I have a discord server, i used tatsu bot to allow points to members of my server based on how active they are. For that tatsu provides an api : https://dev.tatsu.gg/api/guilds#get-guild-member-points. But for that we need to get the member's discord id. How can i get the discord id of a member using javascript??
going back to previous embed
i have 2 embeds in MessageCreate event which checks message then only send the embed, and other embeds in Interaction create event from select menu when condition of messagCreate doesn't work(it will send select menus if messagecreate can't detect the required thing).
these all embed has "Payment Complete" button which when clicked leads to another embed. In another embed, i want to keep go back button so when it's pressed it goes back to previous embed. How can i do that?...
Button callback not working
i had this button function that used to work properly, now that im checking in after a while of refactoring it just doesnt work anymore and i have not the slightest clue why.
Duplicate Message Send
Hello, I've been having an issue with a channel.send() call occasionally resulting in a message being sent multiple times.
Node.js:
v18.12.1
Discord.js: v14.9.0
OS: Ubuntu 20.04 LTS...Is screenshare possible ?
I'd like to make my bot able to display a map on the screen, but with screenshare, which will make the interface clean and everyone can ask the map he wants
I know in the past it wasnt possible, is it now ? after looking trough google i didnt find any other bot than "creating a screenshare link"
I tought maybe there is something in #djs-voice, but since it's voice i'm not sure about it either...
createMessageComponentCollector on a followUp is causing all sorts of inexplicable errors
So I don't really know how else to explain it. First and foremost, here is my code:
https://pastebin.com/ezhdgMvT
Now onto the explanation:...
bulkDelete reason
Why can't TextChannel#bulkDelete be provided a reason?
The Discord docs say that the bulk-delete endpoint supports the
X-Audit-Log-Reason header. Is this just an oversight from the DJS team?...channel.threads.create at collector creates two threads in one time
```
async function setup_message() {
const { guild } = require("./discord_bot.js")
var channel = await guild.channels.fetch("1146767939958231060");
var message = await channel.messages.fetch("1146768903830241311");...
Do you think its possible to add emote in Context menu command name please ? for example `.setName('
Do you think its possible to add emote in Context menu command name please ? for example
.setName(':red_square: Carton Rouge')Syntax error.
```js
/root/Xenix/Xenix/node_modules/discord.js/src/client/BaseClient.js:29
userAgentAppendix: options.rest?.userAgentAppendix
^
...
Premium services
What's the best way to do premium services in my discord bot? Ive never done that before and wanted to know the best way possible, please ping me on all reply messages or i wont see this
Unknown Interaction - @discordjs/core
I'm working on a bot that handles interactions via a webhook url, and am processing them in AWS Lambda. I have everything set up properly, including responding to the ping interaction, but no matter what I do, I keep getting an
Unknown Interaction error.
```typescript
const mainHandler = async (
_event: APIGatewayProxyEvent,...My application does not start
I was tweaking some parts of the application, when I run the command a few times and I get "The interaction failed" yet the command logs were still displayed in the terminal. So I decided to restart the application, now it just doesn't want to start! The problem is not on the host, as I have several applications there and they are all working successfully.
error
I have done codes of basic slash commands, but when i try to run node deploy-commands.js, this error appears:
Error: ENOTDIR: not a directory, scandir 'C:\Users\fanmo\OneDrive\Plocha\taubine\commands\ping.js'
at Object.readdirSync (node:fs:1527:3)
at Object.<anonymous> (C:\Users\fanmo\OneDrive\Plocha\taubine\deploy-commands.js:14:26) ...

