#code

1 messages · Page 1 of 1 (latest)

twilit light
#

@swift jungle

swift jungle
twilit light
#
/home/runner/test/node_modules/@discordjs/rest/dist/index.js:659
        throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
              ^

DiscordAPIError[10026]: Unknown Ban
    at SequentialHandler.runRequest (/home/runner/test/node_modules/@discordjs/rest/dist/index.js:659:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async SequentialHandler.queueRequest (/home/runner/test/node_modules/@discordjs/rest/dist/index.js:458:14)
    at async REST.request (/home/runner/test/node_modules/@discordjs/rest/dist/index.js:902:22)
    at async GuildBanManager.remove (/home/runner/test/node_modules/discord.js/src/managers/GuildBanManager.js:199:5) {
  requestBody: { files: undefined, json: undefined },
  rawError: { message: 'Unknown Ban', code: 10026 },
  code: 10026,
  status: 404,
  method: 'DELETE',
  url: 'https://discord.com/api/v10/guilds/958108447470125066/bans/347930187167563778'
}
#

there is the eorror

swift jungle