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'
}