1.0.0 • Published 2 years ago
aoi-ubfb v1.0.0
Check our documentation in https://the-indie-brand.gitbook.io/ubfb/
Example
const aoijs = require('aoi.js'); // Requiring aoi.js!
const bot = new aoijs.AoiClient({ // Your client config.
token: 'Your token',
prefix: '!',
suppressAllErrors: true,
errorMessage: "",
intents: [ 'GUILDS', 'GUILD_MESSAGES' ],
respondOnEdit: {
commands: false,
alwaysExecute: true,
nonPrefixed: true
},
});
require('aoi-ubfb')(bot); // Propelling ubfb! :D
bot.onMessage();
bot.command({ // Example cmd.
name: 'example', // !example
code: `
GetBoolean: $ubfb#getBoolean[919561584441978881]
GetReason: $ubfb#getReason[919561584441978881]
GetProof: $ubfb#getProof[919561584441978881]
`
});
1.0.0
2 years ago