diff --git a/.env.example b/.env.example index f87cc6d..9c602d5 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ -RBX_TOKEN=ROBLOSECURITY_Cookie_data +ROBLOSECURITY=cookiedata DISCORD_TOKEN=discordtoken CURRENCY="R$" PENDING=":alarm_clock" diff --git a/index.js b/index.js index 0a9e39a..39d8fe1 100644 --- a/index.js +++ b/index.js @@ -80,7 +80,7 @@ discord.on('ready', async () => { console.log(`${colors.cyan("[DISCORD")} Logged in as ${discord.user.displayName}`); channel = await discord.channels.cache.get(process.env.SUMMARY_CHANNEL_ID); - noblox.setCookie(process.env.RBX_TOKEN).then(async (current) => { + noblox.setCookie(process.env.ROBLOSECURITY).then(async (current) => { console.log(`${colors.cyan("[ROBLOX]")} Logged in as ${current.displayName}`); console.log(`${colors.cyan("[ROBLOX]")} Fetching group data...`); groupData = await noblox.getGroup(process.env.GROUPID)