githubEdit

serverDatabase

circle-exclamation

You are able to configure the database the bot uses to your liking using these settings. Make sure you know what you are doing because the bot cannot function without a working database.

database:
  # Defines which datatype should be used, choose between [NONE, SQLITE]
  # ** WARNING ** if you set this to none, and no other database option is given, the process will crash on startup
  use_predefined_database_sets: "SQLITE"
  # ** WARNING ** When using custom, you may experience issues. This is a work in progress feature, so it is unstable, report problems on the GitHub page
  # Which type of custom db should be used: [SQLITE, MYSQL, POSTGRESQL, MARIADB]
  custom_type: ""
  # Here you can input a custom database url to connect to. Make sure to not include https:// or http://, just use the plain url for
  # database connection, e.g., < localhost:3306/test >
  custom_url: ""
  # Here you've input the custom db password
  custom_username: ""
  # Here you have to enter the password of your db session
  custom_password: ""
chevron-rightUse Predifined Databasehashtag

The bot has databases that are already configured and ready to use without any setup. You can choose from:

NONE, SQLITE

chevron-rightCustom Typehashtag

The type of which database you use. Note that only SQL databases are supported, databases such as LiteDB will not work. The supported types are:

SQLITE, MYSQL, POSTGRESQL, MARIADB

chevron-rightCustom Urlhashtag
circle-exclamation

The url to your database. Make sure to include the port, e.g. localhost:3006/test

chevron-rightCustom Usernamehashtag

Your database user.

chevron-rightCustom Passwordhashtag

The password to your database user.

circle-exclamation

If you want to change from the default sqlite database to another database.

chevron-rightUse Predifined Database Setshashtag

You can choose from databases that have already been configured by the bot, available types are:

NONE, SQLITE

chevron-rightCustom Typehashtag

Which type of custom database do you use? Non-Sql databases are not supported:

SQLITE, MYSQL, POSTGRESQL, MARIADB

chevron-rightCustom Urlhashtag
circle-exclamation

What is the url of your database? You have to include the port e.g. localhost:3306/test

chevron-rightCustom Usernamehashtag

The name of your database user.

chevron-rightCustom Passwordhashtag

The password for your database user.

Last updated