Skip to content

Commit

Permalink
fix: variable constant
Browse files Browse the repository at this point in the history
  • Loading branch information
agungjsp committed Jul 30, 2023
1 parent 29f7e93 commit 179553c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ async function main() {

try {
const doc = await db.collection('chat-settings').doc(interaction.user.id).get();
const isPrivate = false;
let isPrivate = false;

if (!doc.exists) {
await db.collection('chat-settings').doc(interaction.user.id).set({
Expand Down Expand Up @@ -360,14 +360,14 @@ async function main() {

const doc = await conversationRef.get();

const defaultPayload = {
let defaultPayload = {
message: question,
clientOptions: {
clientToUse,
},
};

const defaultSet = {
let defaultSet = {
userID: interaction.user.id,
user: interaction.user.tag,
conversationId: null,
Expand Down

0 comments on commit 179553c

Please sign in to comment.