Tj
Tj
DIAdiscord.js - Imagine an app
Created by Tj on 11/27/2023 in #djs-questions
rawError: { message: 'Missing Permissions', code: 50013 },
I've tried a bunch of different perm things, like it's role (and it's spot in the heiarchy) and channel perms
19 replies
DIAdiscord.js - Imagine an app
Created by Tj on 11/27/2023 in #djs-questions
rawError: { message: 'Missing Permissions', code: 50013 },
it has admin aswell
19 replies
DIAdiscord.js - Imagine an app
Created by Tj on 11/27/2023 in #djs-questions
rawError: { message: 'Missing Permissions', code: 50013 },
No description
19 replies
DIAdiscord.js - Imagine an app
Created by Tj on 11/27/2023 in #djs-questions
rawError: { message: 'Missing Permissions', code: 50013 },
the missing permissions thing confuses me, it has every perm I could give it
19 replies
DIAdiscord.js - Imagine an app
Created by Tj on 11/27/2023 in #djs-questions
rawError: { message: 'Missing Permissions', code: 50013 },
the reply to the user is ephemeral yes
19 replies
DIAdiscord.js - Imagine an app
Created by Tj on 11/27/2023 in #djs-questions
rawError: { message: 'Missing Permissions', code: 50013 },
I'll check tho.
19 replies
DIAdiscord.js - Imagine an app
Created by Tj on 11/27/2023 in #djs-questions
rawError: { message: 'Missing Permissions', code: 50013 },
it has every allow or manage perm on the list
19 replies
DIAdiscord.js - Imagine an app
Created by Tj on 11/27/2023 in #djs-questions
rawError: { message: 'Missing Permissions', code: 50013 },
idk how that could be remotely true
19 replies
DIAdiscord.js - Imagine an app
Created by Tj on 11/27/2023 in #djs-questions
rawError: { message: 'Missing Permissions', code: 50013 },
Here's the full error
DiscordAPIError[50013]: Missing Permissions
at handleErrors (/home/tjtaylor/horror/node_modules/discord.js/node_modules/@discordjs/rest/dist/index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SequentialHandler.runRequest (/home/tjtaylor/horror/node_modules/discord.js/node_modules/@discordjs/rest/dist/index.js:1120:23)
at async SequentialHandler.queueRequest (/home/tjtaylor/horror/node_modules/discord.js/node_modules/@discordjs/rest/dist/index.js:953:14)
at async _REST.request (/home/tjtaylor/horror/node_modules/discord.js/node_modules/@discordjs/rest/dist/index.js:1266:22)
at async TextChannel.send (/home/tjtaylor/horror/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:155:15) {
requestBody: {
files: [],
json: {
content: '@horrorontop',
tts: false,
nonce: undefined,
embeds: [Array],
components: undefined,
username: undefined,
avatar_url: undefined,
allowed_mentions: [Object],
flags: undefined,
message_reference: undefined,
attachments: undefined,
sticker_ids: undefined,
thread_name: undefined
}
},
rawError: { message: 'Missing Permissions', code: 50013 },
code: 50013,
status: 403,
method: 'POST',
url: 'https://discord.com/api/v10/channels/733469123622994091/messages'
}
DiscordAPIError[50013]: Missing Permissions
at handleErrors (/home/tjtaylor/horror/node_modules/discord.js/node_modules/@discordjs/rest/dist/index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SequentialHandler.runRequest (/home/tjtaylor/horror/node_modules/discord.js/node_modules/@discordjs/rest/dist/index.js:1120:23)
at async SequentialHandler.queueRequest (/home/tjtaylor/horror/node_modules/discord.js/node_modules/@discordjs/rest/dist/index.js:953:14)
at async _REST.request (/home/tjtaylor/horror/node_modules/discord.js/node_modules/@discordjs/rest/dist/index.js:1266:22)
at async TextChannel.send (/home/tjtaylor/horror/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:155:15) {
requestBody: {
files: [],
json: {
content: '@horrorontop',
tts: false,
nonce: undefined,
embeds: [Array],
components: undefined,
username: undefined,
avatar_url: undefined,
allowed_mentions: [Object],
flags: undefined,
message_reference: undefined,
attachments: undefined,
sticker_ids: undefined,
thread_name: undefined
}
},
rawError: { message: 'Missing Permissions', code: 50013 },
code: 50013,
status: 403,
method: 'POST',
url: 'https://discord.com/api/v10/channels/733469123622994091/messages'
}
19 replies
DIAdiscord.js - Imagine an app
Created by Tj on 11/27/2023 in #djs-questions
rawError: { message: 'Missing Permissions', code: 50013 },
const embed = new EmbedBuilder()
.setColor(Embed.Colors.successcolor)
.setTitle("The :goat: is streaming, check em' out")
.setDescription(`Streamer: <@${userId}>`)
.addFields([
{ name: "Stream URL", value: streamUrl, inline: false }
]);

advertiseChannel.send({
content: 'testme',
embeds: [embed],
});

interaction.reply({
content: "Your stream has been advertised!",
ephemeral: true
});
},
};
const embed = new EmbedBuilder()
.setColor(Embed.Colors.successcolor)
.setTitle("The :goat: is streaming, check em' out")
.setDescription(`Streamer: <@${userId}>`)
.addFields([
{ name: "Stream URL", value: streamUrl, inline: false }
]);

advertiseChannel.send({
content: 'testme',
embeds: [embed],
});

interaction.reply({
content: "Your stream has been advertised!",
ephemeral: true
});
},
};
19 replies
DIAdiscord.js - Imagine an app
Created by Tj on 11/27/2023 in #djs-questions
rawError: { message: 'Missing Permissions', code: 50013 },
14.14.1 btw
19 replies
DIAdiscord.js - Imagine an app
Created by Tj on 1/12/2023 in #djs-questions
everyone not working
for some reason, I believed that "roles" covered that.
16 replies
DIAdiscord.js - Imagine an app
Created by Tj on 1/12/2023 in #djs-questions
everyone not working
ah ok
16 replies
DIAdiscord.js - Imagine an app
Created by Tj on 1/12/2023 in #djs-questions
everyone not working
is there a GatewayIntentBit for it?
16 replies
DIAdiscord.js - Imagine an app
Created by Tj on 1/12/2023 in #djs-questions
everyone not working
I've also tried using this:
const client = new Client({
allowedMentions: { parse: ["users", "roles"], repliedUser: true },
disableEveryone: false,
intents: [
const client = new Client({
allowedMentions: { parse: ["users", "roles"], repliedUser: true },
disableEveryone: false,
intents: [
16 replies
DIAdiscord.js - Imagine an app
Created by Tj on 1/12/2023 in #djs-questions
everyone not working
const client = new Client({ allowedMentions: { parse: ["users", "roles"], repliedUser: true },
16 replies
DIAdiscord.js - Imagine an app
Created by Tj on 1/12/2023 in #djs-questions
everyone not working
@thattranswoman
16 replies
DIAdiscord.js - Imagine an app
Created by Tj on 1/12/2023 in #djs-questions
everyone not working
yes
16 replies
DIAdiscord.js - Imagine an app
Created by Tj on 1/12/2023 in #djs-questions
everyone not working
16 replies