Skip to content

Commit d1cec02

Browse files
authored
Create bootloader.js
1 parent ee313b7 commit d1cec02

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/app/functions/bootloader.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class BootLoader {
116116
},
117117
prefix: { // The user's desired command prefix
118118
type: Sequelize.STRING,
119-
defaultValue: "t/",
119+
defaultValue: app.config.system.defaultPrefix,
120120
allowNull: false
121121
},
122122
language: { // The user's desired languager
@@ -182,11 +182,11 @@ class BootLoader {
182182
defaultValue: JSON.stringify({
183183
"join": {
184184
"channel": null,
185-
"msg": "test"
185+
"msg": app.defaults.join.msg
186186
},
187187
"leave": {
188188
"channel": null,
189-
"msg": "test!!"
189+
"msg": app.defaults.leave.msg
190190
}
191191
}, null, "\t"),
192192
allowNull: true
@@ -329,4 +329,4 @@ class BootLoader {
329329
}
330330

331331

332-
module.exports = BootLoader;
332+
module.exports = BootLoader;

0 commit comments

Comments
 (0)