#PaginatedMessage

1 messages · Page 1 of 1 (latest)

tiny kayak
vital swallow
#

Please share the full command code

snow hearth
#

Where do you have "This maze wasn't meant for you... What did you do." ?

Maybe a precondition?

snow hearth
#

Ah okay, never used the module / function xD kind of a weird message but I won't question it

vital swallow
snow hearth
#

Oh wtf, never seen that before xD

vital swallow
#

Anyway I'm on mobile now but do we not send that when someone other than who initiated the command presses a button? @snow hearth can you click one of these buttons?

gentle vaporBOT
#
#494 - Victini
Type(s)

Psychic, Fire

Abilities

Victory Star

Gender Ratio

Genderless

Evolutionary line

**Victini ** (No Evolutions)

Base Stats

HP: 100, ATK: 100, DEF: 100, SPA: 100, SPD: 100, SPE: 100 (BST: 600)

External Resources
tiny kayak
snow hearth
#

Same

vital swallow
#

Okay so no that was another thing

#

I'll have to dig through the code when I'm back

#

But I think it might be that you have a static method instead of just a class instance method Fabrizio

tiny kayak
#

uh

#

how do i check that?

vital swallow
#

Also can you share your package.json?

tiny kayak
vital swallow
tiny kayak
# vital swallow Also can you share your package.json?
{
  "name": "luxanna-sapphire",
  "version": "1.0.0",
  "description": "",
  "main": "dist/index.js",
  "type": "module",
  "imports": {
    "#structures/*": "./dist/lib/structures/*.js",
    "#utils/*": "./dist/lib/utils/*.js",
    "#root/*": "./dist/*.js"
  },
  "scripts": {
    "pm2": "pm2 start ecosystem.yml",
    "start": "node --enable-source-maps .",
    "format": "prettier --write \"{*,src/**/*}.{json,js,ts,css,html}\"",
    "build": "tsup --config node_modules/@lioness100/configs/tsup.config.js --define.PROJECT_TYPE bot",
    "dev": "npm run build && clear && npm run start"
  },
  "dependencies": {
    "@sapphire/decorators": "^6.0.2",
    "@sapphire/discord.js-utilities": "^7.0.1",
    "@sapphire/framework": "^3.3.0-pr-512.de20326.0",
    "@sapphire/plugin-hmr": "^2.0.1",
    "@sapphire/plugin-i18next": "^5.0.4",
    "@sapphire/time-utilities": "^1.7.10",
    "@sapphire/utilities": "^3.13.0",
    "colorette": "^2.0.20",
    "discord.js": "^14.12.1",
    "dotenv": "^16.3.1",
    "envalid": "^7.3.1",
    "tslog": "^3.3.4"
  },
  "optionalDependencies": {
    "bufferutil": "^4.0.7",
    "utf-8-validate": "^6.0.3",
    "zlib-sync": "^0.1.8"
  },
  "devDependencies": {
    "@types/node": "^20.4.5",
    "prettier": "^2.8.8",
    "tsup": "^7.1.0",
    "typescript": "^5.1.6"
  },
  "engines": {
    "node": ">=16.6"
  }
}
vital swallow
#

Wpaw

#

Yeah uh

#

Update your deps

#

That's a very old version of sapphire

#

We're on 4.x now

tiny kayak
#

oh shit

vital swallow
#

No wonder something fails

tiny kayak
#

ty

snow hearth
tiny kayak
#

I hadn't thought about it xD

vital swallow
#

I had a hunch. Some if statement is failing which causes the unexpected error flow which is that error

#

Also it's not Command.Interaction anymore but Command.ChatInputInteraction from the top of my head which was a hint to me