Feature/182 setup actions (#186)

* Create scripts

* Create github workflows

* Create initial DB migration script

* Make default bot prefix configurable

* Add bot token fetcher
This commit is contained in:
Vylpes 2022-09-06 19:24:40 +01:00 committed by GitHub
parent cd666d24fd
commit 7decd28dc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 525 additions and 83 deletions

View file

@ -17,11 +17,7 @@ export default class DefaultValues {
private static SetValues() {
if (this.values.length == 0) {
// Bot
if (this.useDevPrefix) {
this.values.push({ Key: "bot.prefix", Value: "d!" });
} else {
this.values.push({ Key: "bot.prefix", Value: "v!" });
}
this.values.push({ Key: "bot.prefix", Value: process.env.BOT_PREFIX || "v!" })
// Commands
this.values.push({ Key: "commands.disabled", Value: "" });