WeeskyBDW
WeeskyBDW
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by WeeskyBDW on 6/2/2024 in #djs-questions
[opinion needed] Splitting data fetching to repositories
I close that post in favor of #[opinion needed] Splitting data fetching to repositories in #other-js-ts
3 replies
DIAdiscord.js - Imagine an app
Created by WeeskyBDW on 1/23/2023 in #djs-questions
Package/lib for easly mocking djs ?
Rn it seem they is no node package who allow that
25 replies
DIAdiscord.js - Imagine an app
Created by WeeskyBDW on 1/23/2023 in #djs-questions
Package/lib for easly mocking djs ?
Oups big delay, yeah i want an easy way to mock djs
25 replies
DIAdiscord.js - Imagine an app
Created by WeeskyBDW on 1/23/2023 in #djs-questions
Package/lib for easly mocking djs ?
i mean a lib that generate mocked object of djs main classes
25 replies
DIAdiscord.js - Imagine an app
Created by WeeskyBDW on 8/29/2022 in #djs-questions
Can't access Message.content
ok i'm an assol i was trying to get Message#content from a Message who only have an embed Fixed, thx you
11 replies
DIAdiscord.js - Imagine an app
Created by WeeskyBDW on 8/29/2022 in #djs-questions
Can't access Message.content
prob i missused async/await, 🤷‍♂️
11 replies
DIAdiscord.js - Imagine an app
Created by WeeskyBDW on 8/29/2022 in #djs-questions
Can't access Message.content
(i log it below in the code)
11 replies
DIAdiscord.js - Imagine an app
Created by WeeskyBDW on 8/29/2022 in #djs-questions
Can't access Message.content
export const client = new Client({
intents: [
IntentsBitField.Flags.Guilds,
IntentsBitField.Flags.GuildMembers,
IntentsBitField.Flags.GuildMessageReactions,
IntentsBitField.Flags.GuildMessages,
IntentsBitField.Flags.MessageContent,
],
// solution proposé par Victorique#0001, étant plus sûr que cache#first()
botGuilds: [(c: Client) => c.guilds.cache.map((guild) => guild.id)],
});
export const client = new Client({
intents: [
IntentsBitField.Flags.Guilds,
IntentsBitField.Flags.GuildMembers,
IntentsBitField.Flags.GuildMessageReactions,
IntentsBitField.Flags.GuildMessages,
IntentsBitField.Flags.MessageContent,
],
// solution proposé par Victorique#0001, étant plus sûr que cache#first()
botGuilds: [(c: Client) => c.guilds.cache.map((guild) => guild.id)],
});
11 replies
DIAdiscord.js - Imagine an app
Created by WeeskyBDW on 8/29/2022 in #djs-questions
Can't access Message.content
yes
11 replies
DIAdiscord.js - Imagine an app
Created by WeeskyBDW on 8/29/2022 in #djs-questions
Can't access Message.content
11 replies
DIAdiscord.js - Imagine an app
Created by WeeskyBDW on 8/29/2022 in #djs-questions
Can't access Message.content
i have
11 replies
DIAdiscord.js - Imagine an app
Created by WeeskyBDW on 8/25/2022 in #djs-questions
Why Textchannel.send allow string as option parameter
thx
5 replies
DIAdiscord.js - Imagine an app
Created by WeeskyBDW on 8/25/2022 in #djs-questions
Why Textchannel.send allow string as option parameter
oh ok it's sugar syntax
5 replies
DIAdiscord.js - Imagine an app
Created by WeeskyBDW on 8/25/2022 in #djs-questions
Why Textchannel.send allow string as option parameter
sorry if i post that in wrong channel
5 replies