Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
- 50 22.6M 50 11.5M 0 0 8774k 0 0:00:02 0:00:01 0:00:01 8768k
- 100 22.6M 100 22.6M 0 0 13.8M 0 0:00:01 0:00:01 --:--:-- 13.8M
- npm WARN deprecated node-pre-gyp@0.17.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
- added 67 packages in 4s
- 3 packages are looking for funding
- run `npm fund` for details
- npm notice
- npm notice New minor version of npm available! 9.5.1 -> 9.6.6
- npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.6>
- npm notice Run `npm install -g npm@9.6.6` to update!
- npm notice
- npm WARN old lockfile
- npm WARN old lockfile The package-lock.json file was created with an old version of npm,
- npm WARN old lockfile so supplemental metadata must be fetched from the registry.
- npm WARN old lockfile
- npm WARN old lockfile This is a one-time fix-up, please be patient...
- npm WARN old lockfile
- added 1 package, changed 1 package, and audited 316 packages in 9s
- 34 packages are looking for funding
- run `npm fund` for details
- found 0 vulnerabilities
- > pterostats@v3.0.0 start
- > node index.js
- [PteroStats] Bot is up!
- [PteroStats] If you need support you can join our discord server https://discord.gg/zv6maQRah3
- [PteroStats] If some node is online but the embed is read as offline, please enable log_error on config file and report it at https://discord.gg/zv6maQRah3
- [PteroStats] Getting nodes stats
- [PteroStats] Stats posted!
- /home/minecraft/multicraft/servers/server490683/node_modules/@discordjs/rest/dist/index.js:640
- throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
- ^
- DiscordAPIError[50035]: Invalid Form Body
- components[0].components[BASE_TYPE_BAD_LENGTH]: Must be between 1 and 1521 in length.
- at handleErrors (/home/minecraft/multicraft/servers/server490683/node_modules/@discordjs/rest/dist/index.js:640:13)
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
- at async SequentialHandler.runRequest (/home/minecraft/multicraft/servers/server490683/node_modules/@discordjs/rest/dist/index.js:1021:23)
- at async SequentialHandler.queueRequest (/home/minecraft/multicraft/servers/server490683/node_modules/@discordjs/rest/dist/index.js:862:14)
- at async REST.request (/home/minecraft/multicraft/servers/server490683/node_modules/@discordjs/rest/dist/index.js:1387:22)
- at async TextChannel.send (/home/minecraft/multicraft/servers/server490683/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:162:15) {
- requestBody: {
- files: [],
- json: {
- content: '',
- tts: false,
- nonce: undefined,
- embeds: [
- {
- title: 'Porser Status',
- color: 5793266,
- footer: { text: 'For Porama SMP', icon_url: undefined },
- description: 'Next update <t:1683737140:R>\n' +
- '\n' +
- '**Nodes Stats [1]**\n' +
- '**Node1 USEAST:** :green_circle: Online\n' +
- '```\n' +
- 'Memory : 2 GB / 14 GB\n' +
- 'Disk : 32 GB / 223 GB\n' +
- 'Servers : 1\n' +
- 'Location : USEAST\n' +
- 'Allocations : 422\n' +
- '```',
- timestamp: '2023-05-10T16:45:20.022Z',
- fields: [ [Object] ]
- }
- ],
- components: [ { type: 1, components: [] } ],
- username: undefined,
- avatar_url: undefined,
- allowed_mentions: undefined,
- flags: undefined,
- message_reference: undefined,
- attachments: [],
- sticker_ids: undefined,
- thread_name: undefined
- }
- },
- rawError: {
- code: 50035,
- errors: {
- components: { '0': { components: { _errors: [Array] } } }
- },
- message: 'Invalid Form Body'
- },
- code: 50035,
- status: 400,
- method: 'POST',
- url: 'https://discord.com/api/v10/channels/1105700930705444936/messages'
- }
- Node.js v18.16.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement