#"owner-ids": ["the ID of the owner (insert as int, not string)", "this is a list so you can put in m

23 messages · Page 1 of 1 (latest)

dense halo
#

Please explain this real quick

knotty sableBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

dense halo
#

"owner-ids": ["the ID of the owner (insert as int, not string)", "this is a list so you can put in multiple ids"],

dense halo
#

generally, doing this is a bad idea because integers can't contain discord user IDs, it is too large for int, it is much better suited for bigint.

#

so just pass it as string and make the code use string instead of int

#

OR just pass it as bigint and make the code use bigint instead of int

dense halo
#

example config file of this bot

#

I did itlike this

#

which I think is fine?

#

that's a string

#

the exact opposite of what the owner wants you to do with the array

#

I know

#

but like

#

oh wait

#

this is python

#

the config file is json

#

please get away, this is discord.js

#

we do not teach people json

#

oh

#

we teach people discord.js