BenW
BenW
DIAdiscord.js - Imagine a bot
Created by BenW on 10/26/2023 in #djs-questions
Interaction already replied on bot restart
Have you're bots been ok then? No overlap in interactions when a new deployment goes live?
6 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 10/26/2023 in #djs-questions
Interaction already replied on bot restart
Ah, so basically delaying the bot logging up by some time? Let the old deployment completley exit
6 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 9/20/2023 in #djs-questions
Modals
Thank you
7 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 9/20/2023 in #djs-questions
Modals
Ahhh legend
7 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 9/20/2023 in #djs-questions
Modals
[Event: interactionCreate] [Command Error] ValidationError > s.nativeEnum(T)
Expected the value to be a string or number

Received:
| undefined

at NativeEnumValidator.handle (D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@sapphire\shapeshift\src\validators\NativeEnumValidator.ts:30:3)
at NativeEnumValidator.parse (D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@sapphire\shapeshift\src\validators\BaseValidator.ts:103:2)
at validateRequiredParameters (D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@discordjs\builders\src\components\textInput\Assertions.ts:25:26)
at TextInputBuilder.toJSON (D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@discordjs\builders\src\components\textInput\TextInput.ts:135:3)
at D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@discordjs\builders\src\components\ActionRow.ts:132:61
at Array.map (<anonymous>)
at ActionRowBuilder.toJSON (D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@discordjs\builders\src\components\ActionRow.ts:132:32)
at D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@discordjs\builders\src\interactions\modals\Modal.ts:98:61
at Array.map (<anonymous>)
at ModalBuilder.toJSON (D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@discordjs\builders\src\interactions\modals\Modal.ts:98:32)
[Event: interactionCreate] [Command Error] ValidationError > s.nativeEnum(T)
Expected the value to be a string or number

Received:
| undefined

at NativeEnumValidator.handle (D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@sapphire\shapeshift\src\validators\NativeEnumValidator.ts:30:3)
at NativeEnumValidator.parse (D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@sapphire\shapeshift\src\validators\BaseValidator.ts:103:2)
at validateRequiredParameters (D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@discordjs\builders\src\components\textInput\Assertions.ts:25:26)
at TextInputBuilder.toJSON (D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@discordjs\builders\src\components\textInput\TextInput.ts:135:3)
at D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@discordjs\builders\src\components\ActionRow.ts:132:61
at Array.map (<anonymous>)
at ActionRowBuilder.toJSON (D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@discordjs\builders\src\components\ActionRow.ts:132:32)
at D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@discordjs\builders\src\interactions\modals\Modal.ts:98:61
at Array.map (<anonymous>)
at ModalBuilder.toJSON (D:\Repos\001 New Bot\fbw-moderation-bot\node_modules\@discordjs\builders\src\interactions\modals\Modal.ts:98:32)
7 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 8/28/2023 in #djs-questions
Max number of command registrations
Thanks for the help! Do you know if there is indeed a way to see amount of registrations left?
21 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 8/28/2023 in #djs-questions
Max number of command registrations
Yeah thats all done. I had a dumb moment and thought it needed a refresh. Duh!
21 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 8/28/2023 in #djs-questions
Max number of command registrations
Ohhhh, I see
21 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 8/28/2023 in #djs-questions
Max number of command registrations
Ahh ok, so if I had a 50 command bot, I could register all 50 commands at once but it would count as one 'use'?
21 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 8/28/2023 in #djs-questions
Max number of command registrations
Are you saying, I can run my registration script 200 times, regardless of the amount of commands being registered at that point?
21 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 8/28/2023 in #djs-questions
Max number of command registrations
Agree, but if I made 20 edits to a command, had 10 commands. Thats my usage for the day, right?
21 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 8/28/2023 in #djs-questions
Max number of command registrations
Oh, and any way I can see my remaining registrations?
21 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 9/7/2022 in #djs-questions
Not registering events
Ok thanks, I will dive a bit further to see if I can find what is up
7 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 9/7/2022 in #djs-questions
Not registering events
I don't think we have error handling for that anywhere. And what do you mean by 'call the passed GuildBan msg'. Sorry, this isn't solely my code! Are you meaning to use something like executor: async (ban) => { instead of executor: async (msg) => {?? Is it at all possible that discord isn't always spitting out events? I have been told before that they can sometimes be slow and unreliable, but unsure how much truth there is to this
7 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 9/7/2022 in #djs-questions
Not registering events
ModLogsExclude includes the ID of our bot, so this should not run when the bot executed the ban. This is what I mean by it not affecting 'bot bans'.
7 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 9/7/2022 in #djs-questions
Not registering events
7 replies
DIAdiscord.js - Imagine a bot
Created by BenW on 9/7/2022 in #djs-questions
Not registering events
[email protected], v16.13.2 No errors
7 replies