Gorniaky
Gorniaky
DIAdiscord.js - Imagine an app
Created by Gorniaky on 4/2/2024 in #djs-questions
How to send files through broadcastEval?
the error is due to an invalid file, the same does not happen when it is sent in the current client
await this.client.shard.broadcastEval(async (shard, { channelId, payload }) => {
const channel = shard.channels.cache.get(channelId);
if (!channel?.isTextBased()) return;
return await channel.send(payload); // files in payload
}, { context: { channelId, payload } });
await this.client.shard.broadcastEval(async (shard, { channelId, payload }) => {
const channel = shard.channels.cache.get(channelId);
if (!channel?.isTextBased()) return;
return await channel.send(payload); // files in payload
}, { context: { channelId, payload } });
7 replies
DIAdiscord.js - Imagine an app
Created by Gorniaky on 6/27/2022 in #djs-questions
TypeError guild?.fetchMe is not a function
10 replies
DIAdiscord.js - Imagine an app
Created by Gorniaky on 6/25/2022 in #djs-questions
ActionRow type error
5 replies