Let bot join forum threads

Hi! Got some day ago that the bot i made for a community start not to consider messages inside the new discord forums. It give some facilities to publish posts and act considering the users messages. Theres a way to push the bot inside all threads? Thank you!
2 Replies
Unknown User
Unknown Userā€¢3y ago
Message Not Public
Sign In & Join Server To View
vizzielli
vizzielliOPā€¢3y ago
Ye I thiugh too it wasnt needed but seems it work like this atm.. thanks for the replies, ill try to implement it asap šŸ‘ (slash commands, in the other hand, work without the join) But i need msg content to get user multiline params... the last time i tried seems not possibile: something changed for this? I remember something about bigger param data that would accept multiline params but dont know if it become a thing yet šŸ¤“ ok I missed rly good things since the last time. Thank you! A bit stuck with this:
//this works
const something = new TextInputBuilder()
.setCustomId('something')
.setLabel("Paste something here")
.setStyle(TextInputStyle.Paragraph);

//this return: The application did not respond
const something = new StringSelectMenuBuilder()
.setCustomId('something')
.setPlaceholder('Choose from the list...')
.addOptions(
{
default: true,
label: 'Option1',
description: 'Hey boy!',
value: '0',
}, {
{
label: 'Option2',
description: 'Hey girl!',
value: '1',
},
);
//this works
const something = new TextInputBuilder()
.setCustomId('something')
.setLabel("Paste something here")
.setStyle(TextInputStyle.Paragraph);

//this return: The application did not respond
const something = new StringSelectMenuBuilder()
.setCustomId('something')
.setPlaceholder('Choose from the list...')
.addOptions(
{
default: true,
label: 'Option1',
description: 'Hey boy!',
value: '0',
}, {
{
label: 'Option2',
description: 'Hey girl!',
value: '1',
},
);
When I try select/options it stop working.. By docs cant see anything wrong... I miss something? you mean what I see as error? was in comment, this one: The application did not respond oh im looking at realtime logs on pm2 monit but nothing new comes got it: StringSelectMenuBuilder is not defined. Than if I add it at the top ( const {here} = require ds.js;, it become: StringSelectMenuBuilder is not a constructor
[email protected] /home/user/bot-v14
ā””ā”€ā”€ [email protected]

user@host:~/bot-v14$ node -v
v16.16.0
[email protected] /home/user/bot-v14
ā””ā”€ā”€ [email protected]

user@host:~/bot-v14$ node -v
v16.16.0
using the old one without "String" theres another error:
requestBody: { files: undefined, json: { type: 9, data: [Object] } },
1|index | rawError: {
1|index | code: 50035,
1|index | errors: { data: [Object] },
1|index | message: 'Invalid Form Body'
1|index | },
1|index | code: 50035,
1|index | status: 400,
1|index | method: 'POST',
1|index | url: 'https://discord.com/api/v10/interactions/[...]
requestBody: { files: undefined, json: { type: 9, data: [Object] } },
1|index | rawError: {
1|index | code: 50035,
1|index | errors: { data: [Object] },
1|index | message: 'Invalid Form Body'
1|index | },
1|index | code: 50035,
1|index | status: 400,
1|index | method: 'POST',
1|index | url: 'https://discord.com/api/v10/interactions/[...]
options available are 5 (not more) the thing it makes hard for me to fix this is because im never sure when the changes come in. sometimes when i start from working code, made a change, than theres an error, i revert the changes to the previous working files, and it start to not show the commands at all.. i use to: pm2 restart the app.js theres better ways to avoid issues like this? because if i can jump that thing i think i can try to solve this in a better way... oh yes, so thats the problem i thought i can use it inside modals
Want results from more Discord servers?
Add your server