diff --git a/commands/utils/options/xp.js b/commands/utils/options/xp.js index 572ca0c..7f5656e 100644 --- a/commands/utils/options/xp.js +++ b/commands/utils/options/xp.js @@ -25,7 +25,7 @@ module.exports = { if (options === "on") { if (xpData) return message.reply("XP is enabled."); - await xpData.create({ + await xpSchema.create({ Guild: message.guild.id, Channel: "false", Ping: false,