diff --git a/data/config.json b/data/config.json index 2c87ff6..873d7f0 100755 --- a/data/config.json +++ b/data/config.json @@ -8,7 +8,8 @@ "rankings": [], "devTeamIds": [ "481933290912350209", - "269249959973355520" + "269249959973355520", + "448606738669633536" ], "ownerId": "481933290912350209" -} \ No newline at end of file +} diff --git a/data/strings.json b/data/strings.json index eba1552..19b60ea 100755 --- a/data/strings.json +++ b/data/strings.json @@ -75,7 +75,7 @@ "reset": "All guild configuration information has been removed from the database.", "resetError": "There was a problem deleting your guild information, contact @voidf1sh#0420 for help.", "noRoleMenu": "A role menu has not been created for this guild yet. Run to create a role menu.", - "optout": "Notification relay has been disabled, to re-enable the relay use with no options." + "optout": "Notification relay has been disabled, to re-enable the relay use with no options." }, "notifications": { "water": "is ready to be watered again!", @@ -85,4 +85,4 @@ "growATree": "972637072991068220" }, "temp": {} -} \ No newline at end of file +} diff --git a/modules/dbfn.js b/modules/dbfn.js index ae900ce..911f2e2 100755 --- a/modules/dbfn.js +++ b/modules/dbfn.js @@ -56,11 +56,6 @@ module.exports = { db.end(); return; } - if (res.length == 0) { - reject("There is no database entry for your guild yet. Try running /setup"); - db.end(); - return; - } row = res[0]; const guildInfo = new GuildInfo() .setIds(row.guild_id, row.owner_id) @@ -304,4 +299,4 @@ module.exports = { }); }); } -}; \ No newline at end of file +};