Client Options
Client Options
OPTION | INPUT | EXPLANATION |
---|---|---|
token | string | Your Discord Bot Token |
prefix | string | array | Your Discord Bot Prefix |
intents | array | Required Intents |
events | array | Required Events |
disableFunctions | array | aoi.js functions you want to make unusable |
mobilePlatform | boolean | Display your Discord Bot Status as “mobile” |
respondToBots | boolean | Either give your bot the ability to respond to bots or remove it. |
guildOnly | boolean | Either give your bot the ability to respond in Direct Message or remove it. |
cache | string | Client Cache Options. |
disableAoiDB | boolean | Disables the use of aoi.db within your bot, to add custom databases and such. |
database | string | Client Database Options. (aoi.db) |
suppressAllErrors | boolean | Suppress all occurring errors. |
errorMessage | string | Send a given error message when suppressAllErrors executes, supports parser and functions. |
aoiAutoUpdate | boolean | Automatically update aoi.js if a update is available. |
aoiWarning | boolean | Disable aoiWarning logs which are sent to your console. |
aoiLogs | boolean | Disable aoiLogs which are sent to your console. |
respondOnEdit | string | Give your bot the ability to respond to edited messages and execute the given commands. |