Mardroide
Mardroide
DIAdiscord.js - Imagine an app
Created by Massicraft on 6/26/2023 in #djs-questions
How to get the member that used the slash command?
Yeah
12 replies
DIAdiscord.js - Imagine an app
Created by Massicraft on 6/26/2023 in #djs-questions
How to get the member that used the slash command?
Hi, you can use interaction.user
12 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/17/2023 in #djs-questions
Option Choices Async function.
Thanks!
16 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/17/2023 in #djs-questions
Option Choices Async function.
autocomplete the <SlashCommandBuilder>.addStringOption()
16 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/17/2023 in #djs-questions
Option Choices Async function.
do you have any example at the docs?
16 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/17/2023 in #djs-questions
Option Choices Async function.
thanks duck
16 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/17/2023 in #djs-questions
Option Choices Async function.
I have awaits at all the code 😦
16 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/17/2023 in #djs-questions
Option Choices Async function.
who's duck
16 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/17/2023 in #djs-questions
Option Choices Async function.
idk, the error I have is this:
return value instanceof this.expected ? Result.ok(value) : Result.err(new ExpectedValidationError("s.instance(V)", "Expected", value, this.expected));
^

ExpectedValidationError: Expected
at InstanceValidator.handle (C:\Users\Marcos\Documents\Work\plasma-bot\node_modules\@sapphire\shapeshift\dist\index.js:730:75)
at InstanceValidator.parse (C:\Users\Marcos\Documents\Work\plasma-bot\node_modules\@sapphire\shapeshift\dist\index.js:212:88)
at assertReturnOfBuilder (C:\Users\Marcos\Documents\Work\plasma-bot\node_modules\@discordjs\builders\dist\index.js:1441:53)
at MixedClass._sharedAddOptionMethod (C:\Users\Marcos\Documents\Work\plasma-bot\node_modules\@discordjs\builders\dist\index.js:2081:5)
at MixedClass.addStringOption (C:\Users\Marcos\Documents\Work\plasma-bot\node_modules\@discordjs\builders\dist\index.js:2052:17)
at Object.<anonymous> (C:\Users\Marcos\Documents\Work\plasma-bot\src\commands\content\repos.js:11:6)
at Module._compile (node:internal/modules/cjs/loader:1255:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
at Module.load (node:internal/modules/cjs/loader:1113:32)
at Module._load (node:internal/modules/cjs/loader:960:12) {
validator: 's.instance(V)',
given: Promise { <pending> },
expected: [Function: SlashCommandStringOption]
}
return value instanceof this.expected ? Result.ok(value) : Result.err(new ExpectedValidationError("s.instance(V)", "Expected", value, this.expected));
^

ExpectedValidationError: Expected
at InstanceValidator.handle (C:\Users\Marcos\Documents\Work\plasma-bot\node_modules\@sapphire\shapeshift\dist\index.js:730:75)
at InstanceValidator.parse (C:\Users\Marcos\Documents\Work\plasma-bot\node_modules\@sapphire\shapeshift\dist\index.js:212:88)
at assertReturnOfBuilder (C:\Users\Marcos\Documents\Work\plasma-bot\node_modules\@discordjs\builders\dist\index.js:1441:53)
at MixedClass._sharedAddOptionMethod (C:\Users\Marcos\Documents\Work\plasma-bot\node_modules\@discordjs\builders\dist\index.js:2081:5)
at MixedClass.addStringOption (C:\Users\Marcos\Documents\Work\plasma-bot\node_modules\@discordjs\builders\dist\index.js:2052:17)
at Object.<anonymous> (C:\Users\Marcos\Documents\Work\plasma-bot\src\commands\content\repos.js:11:6)
at Module._compile (node:internal/modules/cjs/loader:1255:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
at Module.load (node:internal/modules/cjs/loader:1113:32)
at Module._load (node:internal/modules/cjs/loader:960:12) {
validator: 's.instance(V)',
given: Promise { <pending> },
expected: [Function: SlashCommandStringOption]
}
16 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/13/2023 in #djs-questions
Slash Commands Cooldowns
I moved the check upper to return if the user is at a cooldown and still doesn't work
33 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/13/2023 in #djs-questions
Slash Commands Cooldowns
Still doesn't get it
33 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/13/2023 in #djs-questions
Slash Commands Cooldowns
thanks
33 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/13/2023 in #djs-questions
Slash Commands Cooldowns
so I switch the checks
33 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/13/2023 in #djs-questions
Slash Commands Cooldowns
33 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/13/2023 in #djs-questions
Slash Commands Cooldowns
I just done the changes you told me sir, but the cooldowns doesn't tkae effect. I mean, by following the steps at the guide and the corrections still doesn't work
33 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/13/2023 in #djs-questions
Slash Commands Cooldowns
yeah okey let me explain
33 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/13/2023 in #djs-questions
Slash Commands Cooldowns
idk why xd
33 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/13/2023 in #djs-questions
Slash Commands Cooldowns
but thge cooldowns doesn't work
33 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/13/2023 in #djs-questions
Slash Commands Cooldowns
okey yeah
33 replies
DIAdiscord.js - Imagine an app
Created by Mardroide on 6/13/2023 in #djs-questions
Slash Commands Cooldowns
33 replies