-
-
Notifications
You must be signed in to change notification settings - Fork 21
FAQ
If you see this page, your answer is here. Read carefully before asking, or we have rights to completely ignore you, don't blame us for why this is so.
1. How can I config my bot's database completely? / Why I have Invalid config [MissingKey]
error log?
Please follow this form (tested)
MongoDB
features:
DATABASE:
driver: "mongodb"
config:
uri: "mongodb://127.0.0.1:27017/byteblaze"
MySQL
features:
DATABASE:
driver: "mysql"
config:
host: "localhost"
user: "me"
password: "secret"
database: "my_db"
JSON
features:
DATABASE:
driver: "json"
config:
path: "./byteblaze.database.json"
PostgresSQL
features:
DATABASE:
driver: "postgres"
config:
host: "localhost"
user: "me"
password: "secret"
database: "my_db"
Because you have message_content enabled on bot, you have 2 ways:
1: Disable message_content on the bot:
features:
MESSAGE_CONTENT:
enable: false
commands:
enable: false
prefix: "d!" # The prefix you want
2: Enable message_content on discord portal like this:
Go to discord developer portal
Click on the bot that you want to invite, you will see something like this:
Click on Oauth2 tab, you will see something like this:
Scroll down and tick all check box that same like this example:
Click on copy button below and use that link to invite your bot to your server.
The only official way to use dev version is through git
. If you have installed git, follow all the step below:
1: Type git reset --hard HEAD
to restore to default source
2: Type git switch dev
to switch to dev branch
3: Remove node_modules
folder
4: Reinstall / Rebuild the bot and enjoy.
If you have installed git, follow all the step below:
1: Type git reset --hard HEAD
to restore to default source
2: Type git switch main
to switch to main branch
3: Remove node_modules
folder
4: Reinstall / Rebuild the bot and enjoy.
If you don't use git, you will have to delete all the ByteBlaze folder and install latest one
Spotify have stream restrictions, so the audio that you heard is actually from YouTube. So if the track is not available in YouTube but exist in Spotify, it can't play. This is from lavalink side
Thanks for reading! Below are my social media!
- Discord: rainyxeon
- Facebook: https://www.facebook.com/rainy.xeon/
- Email: xeondev@xeondex.onmicrosoft.com
- Instagram: @rainy.xeon