From d1cec0274bef147c506095d47d3f52b32911de8e Mon Sep 17 00:00:00 2001 From: TheCodingGuy Date: Thu, 10 Mar 2022 00:56:53 -0500 Subject: [PATCH] Create bootloader.js --- src/app/functions/bootloader.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/functions/bootloader.js b/src/app/functions/bootloader.js index 18e2ece..92f8c89 100644 --- a/src/app/functions/bootloader.js +++ b/src/app/functions/bootloader.js @@ -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 @@ -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 @@ -329,4 +329,4 @@ class BootLoader { } -module.exports = BootLoader; \ No newline at end of file +module.exports = BootLoader;