-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hi,
Thanks for writing this up, much appreciated.
I've managed to get this working on a free Oracle Cloud VM. Unfortunately on npm run dev I get the error below. It appears to be trying to use a different channel ID to the one I input to the config file - even changing it to a dummy value has it revert to the channel ID below. I have tried to search for references to the channel ID below but no luck.
Server is running on port 5000
06-09 16:19:25 Logged in as GitHubIssues#6541!
06-09 16:19:25 Issues loaded : 7
/home/ubuntu/discordBot/node_modules/@discordjs/rest/src/lib/handlers/Shared.ts:148
throw new DiscordAPIError(data, 'code' in data ? data.code : data.error, status, method, url, requestData);
^
DiscordAPIError[10003]: Unknown Channel
at handleErrors (/home/ubuntu/discordBot/node_modules/@discordjs/rest/src/lib/handlers/Shared.ts:148:10)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at SequentialHandler.runRequest (/home/ubuntu/discordBot/node_modules/@discordjs/rest/src/lib/handlers/SequentialHandler.ts:417:20)
at SequentialHandler.queueRequest (/home/ubuntu/discordBot/node_modules/@discordjs/rest/src/lib/handlers/SequentialHandler.ts:169:11)
at _REST.request (/home/ubuntu/discordBot/node_modules/@discordjs/rest/src/lib/REST.ts:210:20)
at async ChannelManager.fetch (/home/ubuntu/discordBot/node_modules/discord.js/src/managers/ChannelManager.js:123:18) {
requestBody: { files: undefined, json: undefined },
rawError: { message: 'Unknown Channel', code: 10003 },
code: 10003,
status: 404,
method: 'GET',
url: 'https://discord.com/api/v10/channels/1249342558606332075'
Metadata
Metadata
Assignees
Labels
No labels