Open Tatatofly opened 3 years ago
/home/tatu/Discordbot-Shiro/node_modules/discord.js/src/rest/RequestHandler.js:298 throw new DiscordAPIError(data, res.status, request); ^ DiscordAPIError: Missing Permissions at RequestHandler.execute (/home/tatu/Discordbot-Shiro/node_modules/discord.js/src/rest/RequestHandler.js:298:13) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async RequestHandler.push (/home/tatu/Discordbot-Shiro/node_modules/discord.js/src/rest/RequestHandler.js:50:14) at async TextChannel.send (/home/tatu/Discordbot-Shiro/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:171:15) { method: 'post', path: '/channels/774027368041283635/messages', code: 50013, httpStatus: 403, requestData: { json: { content: undefined, tts: false, nonce: undefined, embeds: [ { title: 'Discordbot-Shiro', type: 'rich', description: 'List of commands: ', url: 'https://github.com/Tatatofly/Discordbot-Shiro', timestamp: null, color: 9442302, fields: [ [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object] ], thumbnail: { url: 'https://cdn.discordapp.com/app-icons/267636401573462016/03f3d357e36b57c8a95f719cb4fe0263.png?size=256', proxyURL: undefined, height: undefined, width: undefined }, image: null, author: { name: 'Tatatofly#0854', url: 'https://tatu.moe', icon_url: 'http://files.tatu.moe/toplel.jpg' }, footer: { text: 'Source in Github', icon_url: 'https://cdn.discordapp.com/app-icons/267636401573462016/03f3d357e36b57c8a95f719cb4fe0263.png?size=256' } } ], components: undefined, username: undefined, avatar_url: undefined, allowed_mentions: undefined, flags: undefined, message_reference: undefined, attachments: undefined, sticker_ids: undefined }, files: [] } }
Help command. Possible scenario: Bot doesn't have send embed or attach files permissions.