Jump to content

Poll Ended, Bot Didn't Post

Not a Bug 1.1

dustyhansen

So my first poll ended and the bot didn't do anything. The poll is still open and there was no post indicating a winner. I checked the console for the bot and saw the following:

11-07 01:30:28 DiscordAPIError[50013]: Missing Permissions
11-07 01:30:28     at handleErrors (/home/container/node_modules/@discordjs/rest/dist/index.js:727:13)
11-07 01:30:28     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
11-07 01:30:28     at async SequentialHandler.runRequest (/home/container/node_modules/@discordjs/rest/dist/index.js:1128:23)
11-07 01:30:28     at async SequentialHandler.queueRequest (/home/container/node_modules/@discordjs/rest/dist/index.js:959:14)
11-07 01:30:28     at async _REST.request (/home/container/node_modules/@discordjs/rest/dist/index.js:1272:22)
11-07 01:30:28     at async ReactionManager.removeAll (/home/container/node_modules/discord.js/src/managers/ReactionManager.js:63:5)
11-07 01:30:28     at async ReactionCollector.<anonymous> (/home/container/commands/poll.js:323:25) {
11-07 01:30:28   requestBody: { files: undefined, json: undefined },
11-07 01:30:28   rawError: { message: 'Missing Permissions', code: 50013 },
11-07 01:30:28   code: 50013,
11-07 01:30:28   status: 403,
11-07 01:30:28   method: 'DELETE',
11-07 01:30:28   url: 'https://discord.com/api/v10/channels/780210834323275807/messages/1303531910047338586/reactions'
11-07 01:30:28 }

What permission is it missing exactly? Your documentation doesn't specify what permissions the bot needs, so I had to guess.

Also, is there any way to recover from this or is this first poll toast now?

Link to comment

The bot is missing permissions for the serevr.. I normal just say give the bot admin on servers. but if you want a list of all permissions i can add one

 

Edited by Drxp
Link to comment
1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

100.7k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.