feature/implement-bot-into-client-core #2

Merged
logan merged 42 commits from feature/implement-bot-into-client-core into master 2023-05-06 14:45:00 -04:00
Showing only changes of commit 6c294fe803 - Show all commits

View File

@@ -10,7 +10,7 @@ exports.getConfig = function getConfig() {
}
exports.getGuildID = function getGuildID() {
const parsedJSON = getConfig();
const parsedJSON = this.getConfig();
const guildID = parsedJSON.GuildID;
log.DEBUG("Guild ID: ", guildID);
@@ -18,7 +18,7 @@ exports.getGuildID = function getGuildID() {
}
exports.getApplicationID = function getApplicationID() {
const parsedJSON = getConfig();
const parsedJSON = this.getConfig();
const appID = parsedJSON.ApplicationID;
log.DEBUG("Application ID: ", appID);
@@ -26,7 +26,7 @@ exports.getApplicationID = function getApplicationID() {
}
exports.getDeviceID = function getDeviceID(){
const parsedJSON = getConfig();
const parsedJSON = this.getConfig();
const deviceID = parseInt(parsedJSON.DeviceID);
log.DEBUG("Device ID: ", deviceID);
@@ -34,7 +34,7 @@ exports.getDeviceID = function getDeviceID(){
}
exports.getDeviceName = function getDeviceName(){
const parsedJSON = getConfig();
const parsedJSON = this.getConfig();
const deviceName = parsedJSON.DeviceName;
log.DEBUG("Device Name: ", deviceName);