Perodix__
Perodix__
DIAdiscord.js - Imagine an app
Created by Perodix__ on 12/10/2023 in #djs-questions
Help about looping
https://paste.ofcode.org/PicxxZT8fjYiwL4kdCPfZK How can i make the game loop after collector.On(collect)
3 replies
DIAdiscord.js - Imagine an app
Created by Perodix__ on 11/26/2022 in #djs-questions
Help about music bot
Hello I'm making a music bot. I;m using Discord-Player package. Problem is i want to make everything is one command,i mean
/play <URL | KEYWORDS | PLAYLIST URL>
/play <URL | KEYWORDS | PLAYLIST URL>
Is it possible to make it? Because on internet i just see i can make it but with subcommands so
/play <KEYWORDS>
/play <URL OF PLAYLIST>
/play <URL OF SONG>
/play <KEYWORDS>
/play <URL OF PLAYLIST>
/play <URL OF SONG>
13 replies
DIAdiscord.js - Imagine an app
Created by Perodix__ on 9/1/2022 in #djs-questions
Problem about command handler
const discord = new CommandoClient({
token: Token,
commands: path.join(__dirname, 'prefix-commands'),
events: path.join(__dirname, 'events'),
groupCommands: true,
prefix: prefix,
owner: Owner,
defaultHelpCommand: true,
invite: 'https://discord.gg/some_invite',
options: {
maxShards: 'auto',
disableEveryone: true,
autoreconnect: true
}
});

discord.setup();
const discord = new CommandoClient({
token: Token,
commands: path.join(__dirname, 'prefix-commands'),
events: path.join(__dirname, 'events'),
groupCommands: true,
prefix: prefix,
owner: Owner,
defaultHelpCommand: true,
invite: 'https://discord.gg/some_invite',
options: {
maxShards: 'auto',
disableEveryone: true,
autoreconnect: true
}
});

discord.setup();
Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
2 replies