Skip to content

Commit

Permalink
Create bootloader.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Aisuruneko authored Mar 10, 2022
1 parent ee313b7 commit d1cec02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/functions/bootloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class BootLoader {
},
prefix: { // The user's desired command prefix
type: Sequelize.STRING,
defaultValue: "t/",
defaultValue: app.config.system.defaultPrefix,
allowNull: false
},
language: { // The user's desired languager
Expand Down Expand Up @@ -182,11 +182,11 @@ class BootLoader {
defaultValue: JSON.stringify({
"join": {
"channel": null,
"msg": "test"
"msg": app.defaults.join.msg
},
"leave": {
"channel": null,
"msg": "test!!"
"msg": app.defaults.leave.msg
}
}, null, "\t"),
allowNull: true
Expand Down Expand Up @@ -329,4 +329,4 @@ class BootLoader {
}


module.exports = BootLoader;
module.exports = BootLoader;

0 comments on commit d1cec02

Please sign in to comment.