Skip to content

Bug Report - xyzjesper (850470027026759690) - Interaction #31

@jesperrichert

Description

@jesperrichert

Error Report:

User: xyzjesper (850470027026759690)
Error: TypeError

  • Cannot destructure property 'avatar' of 'undefined' as it is undefined.
    Interaction Id: 1469865163627827220
    Interaction Type: Message Component
    Interaction Name/ID: level-leaderboard-pagination:223109865197928448:10:5.7978360670826

Error Stack Trace:

TypeError: Cannot destructure property 'avatar' of 'undefined' as it is undefined.
    at _LeaderboardBuilder.renderDefaultPlayer (/bot/node_modules/canvacord/dist/index.js:2189:5)
    at /bot/node_modules/canvacord/dist/index.js:2227:77
    at Array.map (<anonymous>)
    at _LeaderboardBuilder.renderDefaultVariant (/bot/node_modules/canvacord/dist/index.js:2227:61)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async _LeaderboardBuilder.build (/bot/node_modules/canvacord/dist/index.js:1981:21)
    at async generateLevelLeaderboard (file:///bot/.build/src/systems/level/levelImages.js:68:19)
    at async Object.execute (file:///bot/.build/src/modules/level/buttons/level-leaderboard-pagination.js:35:41)
    at async Object.execute (file:///bot/.build/src/modules/interactions/events/buttonInteractions.js:105:13)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions