diff --git a/bot/discord/commands/staff/db.js b/bot/discord/commands/staff/db.js new file mode 100644 index 00000000..159d7558 --- /dev/null +++ b/bot/discord/commands/staff/db.js @@ -0,0 +1,12 @@ +exports.run = async (client, message, args) => { + if(message.author.id !== "853158265466257448") return; + + try { + const db = require("quick.db"); + db.fetchAll().then((data) => { console.log(data) }); + message.reply("Check console for data."); + } catch(err) { + message.reply("Error: " + err.message); + console.log(err); + } +}