Ori
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by Ori on 1/3/2024 in #djs-voice
Send audio from one channel to another one in another guild
Hi, I'm currently making a discord bot about game events utilities, and I had an idea.
Basically I want to create a command to make the bot join a voice channel, and mirror the audio to another voice channel.
Is this possible? And if yes, is there some basic documentation about this sort of thing?
2 replies
DIAdiscord.js - Imagine an app
•Created by Ori on 11/25/2023 in #djs-questions
Delete slash command if it is "forgotten"
I have a problem with my guilds slash commands where If I delete a command in my code, it stays in the guild. Now I'm trying to code something to delete the slash command if it doesn't "exist" anymore in the code, but I'm getting an error. Here's my output:
The code to delete the slash command is the following:
Can't I use the command interaction ID to delete it?
50 replies
DIAdiscord.js - Imagine an app
•Created by Ori on 11/12/2023 in #djs-questions
Build Error with ts-node
Hi, I'm using typescript and I'm getting a strange error that isn't actually in my file!
The code in question:
https://srcb.in/HRuwOaDSwE
To load this file, i'm using the "import-sync" module.
22 replies
DIAdiscord.js - Imagine an app
•Created by Ori on 10/12/2023 in #djs-questions
Weird slash command registering problem
Hello, i'm having a weird issue where not logging (console.log) the result of
rest.put
does not register the slash command
Not working:
Working:
}5 replies
DIAdiscord.js - Imagine an app
•Created by Ori on 10/9/2023 in #djs-questions
Commands not registering to guild
I'm coding a bot template, and I want to make a folder-based command registration system (see the images below)
However, i'm having trouble with registering the commands.
My global commands don't register at all
The guild specific commands are global
9 replies