Set Prefix Tutorial? I'm bad at JS
I used this event below to check for bot prefix then no prefix exist.
The question is how to set bot prefix as documents on website said there was a page about it but i can't found it
5 Replies
It's in the client options
got it! btw is there a way to change prefix by command? as i search there's a function that fetchPrefix but i don't know if thats right
fetchPrefix
would be called every time a message is sent to dynamically fetch the prefix. Ideally you would create a command that edits the prefix in a database, and the fetch prefix would retrieve that value from the databasethank you!
Np!