Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Discord.js 14 Slash Commands Duplicated

Not really sure why, but seems that my slash commands are registering twice. I've tried various methods, yes using ChatGPT, but so far all of the results have duplicates. Any suggestions? (Besides ...
Jesse Elser's user avatar
0 votes
0 answers
42 views

discord app (built with discord.js, Node.js) slash commands work inside server but not in DM

I'm currently building a Discord app that allows me to view a user's status (online, DND, offline) and what songs they are listening to. This works perfectly in my own server: My app works in the ...
Stephanie Yao's user avatar
-3 votes
0 answers
28 views

Discord Bot cannot sound [closed]

So this is my code for the play function logic: const { SlashCommandBuilder } = require('discord.js'); const { joinVoiceChannel, createAudioPlayer, createAudioResource, StreamType } = require('@...
Klee's user avatar
  • 9
0 votes
1 answer
22 views

Discord permission issues when using channel.clone()

Within my discord bot, I created a /purge all command that clones the current channel by using the channel.clone() functionality of discordjs v14 (this creates an empty channel with the same name and ...
msetten's user avatar
  • 71
0 votes
0 answers
23 views

Failed to create Discord DM channel, Connect Timeout Error

I have updated the Discord robot token and tried different account user IDs, but the result is still the same request interface error. The HTTP of the request interface is 500, and all aspects of the ...
宇文所拓's user avatar
0 votes
1 answer
38 views

Discordjs v14, DiscordAPIError[50035]: type[BASE_TYPE_CHOICES]

I am developing a bot in Replit that makes a category structure. I am using Discordjs v14.18.0. The problem is when creating a ChannelType.GuildAnnouncement, with value of 5, the error informs me that ...
ercanon's user avatar
0 votes
1 answer
48 views

DiscordJS Slash Command using fetch not returning response or any errors

I'm using Discord.js and am using NodeJS v22.14.0 I have a slash command called work which calls a remote PHP script and sends the userID value using POST. When the command is run in Discord I get the ...
ChrisYates's user avatar
-1 votes
1 answer
46 views

Nodejs Webscoket discord bot authorization

I tried logging in using my credentials, and I expected the WebSocket connection to recognize my session and allow me to stay connected. However, even after successful authentication, the server still ...
Wojtek Szymański's user avatar
-2 votes
1 answer
52 views

discord.js v14 add member to a channel

I would like to add some members to the specific channel in Guild so only they are able to see the channel. I am creating a new channel via this script const channel = await guild.channels.create({ ...
Kuba Šimonovský's user avatar
0 votes
1 answer
67 views

How should I edit the code for sending messages from Google Script to Discord?

function doPost(e) { // ตรวจสอบว่ามีข้อมูลส่งมาจาก Tradingview เข้ามาหรือไม่ if (!e || !e.postData || !e.postData.contents) { return ContentService.createTextOutput("No POST data received....
Gfour's user avatar
  • 1
0 votes
1 answer
57 views

Accesing Security Actions

I was wondering wether there is currently a way to acces the Security actions for a Guild via a bot, preferably through discordjs. I did not find any mention in the documentation though. Is there any ...
Se_008's user avatar
  • 23
0 votes
0 answers
24 views

Error Initializing 'discord-player' with Discord.js Client

I do everything as shown in the documentation of discord-player but get following Error: TS2345: Argument of type import(".../ WebstormProjects/ DiscordBot/ node_modules/ discord. js/ typings/ ...
Entropy A's user avatar
0 votes
0 answers
19 views

Empty tracks when use discord-player

I'm making a discord music bot with discord-player. When using the player.search(), an empty tracks is output. No errors are output, just empty tracks. Why is the empty tracks returned? I have little ...
gnemek20's user avatar
0 votes
1 answer
32 views

DiscordAPIError[10062]: Unknown interaction at handleErrors

I'm making a slash command to send a user info about command when they use /showallrole I just get this error please help me to check my code. this code for show all user in my discord. C:\bot\...
dndcorp's user avatar
0 votes
1 answer
34 views

Is there a way to accept multiple images as one attachment option within a Discord Slash Command?

I'm currently building a discord JS bot to host an art server and I'm working on a command to allow users to upload their own reference photos to a designated #references channel. Users cannot type in ...
Audrey Publicover's user avatar

15 30 50 per page
1
2 3 4 5
1150