diff --git a/commands/Info/new-chat.js b/commands/Info/new-chat.js index 62012ee..527e39e 100644 --- a/commands/Info/new-chat.js +++ b/commands/Info/new-chat.js @@ -8,8 +8,6 @@ module.exports = { private: true, run: async (client, interaction) => { const file = './cache/' + interaction.user.id -console.log(process.env.USER) -console.log(process.env.PASS) unirest .post(`https://${process.env.PUBLIC_URL}/api/chat`) diff --git a/commands/Info/view-session-history.js b/commands/Info/view-session-history.js index ff85441..d165952 100644 --- a/commands/Info/view-session-history.js +++ b/commands/Info/view-session-history.js @@ -34,7 +34,7 @@ module.exports = { const response = await axios.get(`http://${process.env.INTERNAL_IP}:8008/api/chat/` + session2, { headers, auth: { - username: process.env.USER, + username: process.env.USERNAME, password: process.env.PASS } });