Custom Prefixes
The bot prefix is declared in the client constructor, this option supports a string or a function, this is useful for making custom prefixes for each server.
Example
const { Erine } = require('erine');
const bot = new Erine({
auth: "",
gateway: {
intents: []
},
async prefix(ctx) {
// return a string...
}
});
bot.connect();