snowyv4
snowyv4
DIAdiscord.js - Imagine an app
Created by snowyv4 on 2/29/2024 in #djs-questions
Getting "ValidationError > s.string Expected a string primitive.
0 clue to be honest. https://sourceb.in/yHA8JTUokn
9 replies
DIAdiscord.js - Imagine an app
Created by snowyv4 on 2/29/2024 in #djs-voice
Getting "ValidationError > s.string Expected a string primitive.
0 clue whats so ever. Code: https://srcb.in/yHA8JTUokn
2 replies
DIAdiscord.js - Imagine an app
Created by snowyv4 on 2/12/2024 in #djs-questions
For some reason my collecter won't work?
It doesn't give me an error or anything and ive been debugging for about 6 hours now. Any pointers are appreciated.
5 replies
DIAdiscord.js - Imagine an app
Created by snowyv4 on 2/11/2024 in #djs-questions
Getting: Invalid bitfield flag or number: VIEW_CHANNEL. (creating a text channel)
dont rlly know. code:
collector.on('collect', async(i) => {
const selection = i.values.join(', ')
if(selection==='report') {
i.guild.channels.create({
name: `report-ticket-${i.user.tag}`,
type: ChannelType.GuildText,
parent: ticketCategory,
permissionOverwrites: [
{
id: i.guild.roles.cache.find(r => r.name==='@everyone').id,
deny: ['VIEW_CHANNEL'],
}
]
})
}
})
collector.on('collect', async(i) => {
const selection = i.values.join(', ')
if(selection==='report') {
i.guild.channels.create({
name: `report-ticket-${i.user.tag}`,
type: ChannelType.GuildText,
parent: ticketCategory,
permissionOverwrites: [
{
id: i.guild.roles.cache.find(r => r.name==='@everyone').id,
deny: ['VIEW_CHANNEL'],
}
]
})
}
})
5 replies
DIAdiscord.js - Imagine an app
Created by snowyv4 on 2/7/2024 in #djs-questions
Cannot read properties of undefined (reading 'FLAGS')
code works fine on windows but for some reason gives this error on linux(ubuntu)
6 replies
DIAdiscord.js - Imagine an app
Created by snowyv4 on 2/3/2024 in #djs-questions
Attempting to fetch users custom status!
i have some code how ever it errors out!
17 replies
DIAdiscord.js - Imagine an app
Created by snowyv4 on 2/2/2024 in #djs-questions
how would i go about fetching a user's custom status?
don't know how this would be acheived
11 replies