Skip to content

error trying to embed node #2

@wyleekiot

Description

@wyleekiot

Though the config.json file says to use the application api it seems to not work. if I use the client api key in the config.json I have all functions except embed node. when I try to embed node I get the following

Image

if using the client api key in the config.json when the error occurs there is nothing listed in the panel. However if im using the application key in the config.json the panel returns the following error:

Error in node-embed command: TypeError: Cannot read properties of undefined (reading 'length')
at createNodeStatusEmbed (/home/container/ptero/utils/embeds.js:21:76)
at processTicksAndRejections (node:internal/process/task_queues:103:5)
at async sendNodeStatusEmbed (/home/container/ptero/commands/nodeStatusEmbed.js:48:23)
at async Object.execute (/home/container/interactions/slash/ptero/pt.js:214:17)
at async Object.execute (/home/container/events/slashCreate.js:34:4)
at async Client. (/home/container/bot.js:65:23)

Is there somewhere other than the config.json I should be entering api keys or is there another field I need to add?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions