Skip to content
Discussion options

You must be logged in to vote

You need to call toJSON() on the builder. Otherwise it will just send the builder to discord.

import { pingCommand } from './ping'
export const commandList = [pingCommand.builder.toJSON()]

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@tony-ist
Comment options

@tony-ist
Comment options

@S222em
Comment options

@tony-ist
Comment options

Comment options

You must be logged in to vote
1 reply
@tony-ist
Comment options

Answer selected by Jiralite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants