chris™
chris™
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
Anyways, thanks 🙏
32 replies
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
Yea I saw that but it doesn't have all the options I assume, because it doesn't mention .setMax/Min and .setValue
32 replies
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
like the modal one
32 replies
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
that has all these features
32 replies
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
Also for future reference, is there and doc on modal creation?
32 replies
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
ah, thanks
32 replies
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
I saw it was .setValue but that didn't work when I tried it with discord-modals
32 replies
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
yea it is: TypeError: (intermediate value).setCustomId(...).setLabel(...).setDefaultValue is not a function
32 replies
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
Ok, actually I have a theory it must be setDefaultValue
32 replies
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
it had embed options
32 replies
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
with embeds
32 replies
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
I just added description and title by accident cuz it suggested in vscode for some reason
32 replies
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
which worked before v14
32 replies
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
I'll try getting my original code
32 replies
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
Alright here I changed it:
const configurationModal = new ModalBuilder()
.setCustomId(`errorConfigurationModal`)
.setTitle('⚙️ Bot Configuration')
//.setDescription('**Warning** This is not the server configuration! This is the entire bot domain!!!')
new ActionRowBuilder().addComponents(
new TextInputBuilder()
.setCustomId('errorLog_channel')
.setLabel('Error Channel ID')
.setDescription('The channel all errors are directed into. To disable, set to 0.')
.setDefaultValue(errorChannel_ID)
.setStyle('Short')
.setRequired(true)
)
const configurationModal = new ModalBuilder()
.setCustomId(`errorConfigurationModal`)
.setTitle('⚙️ Bot Configuration')
//.setDescription('**Warning** This is not the server configuration! This is the entire bot domain!!!')
new ActionRowBuilder().addComponents(
new TextInputBuilder()
.setCustomId('errorLog_channel')
.setLabel('Error Channel ID')
.setDescription('The channel all errors are directed into. To disable, set to 0.')
.setDefaultValue(errorChannel_ID)
.setStyle('Short')
.setRequired(true)
)
TypeError: (intermediate value).setCustomId(...).setLabel(...).setDescription is not a function
32 replies
DIAdiscord.js - Imagine an app
Created by chris™ on 7/23/2022 in #djs-questions
[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function
that was my re-write but earlier with label, I had the same prob
32 replies