Skip to content

Commit

Permalink
forgot to return :p
Browse files Browse the repository at this point in the history
  • Loading branch information
artifishvr committed Apr 18, 2024
1 parent 84ea427 commit 41ddf9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ client.on("messageCreate", async message => {
if (!shouldIReply(message)) return;

try {
if (backendsocket.disconnected) message.channel.send(`🔕 Backend socket is not connected. Try again later.`);
if (backendsocket.disconnected) return message.channel.send(`🔕 Backend is not connected. Try again later.`);
message.channel.sendTyping();

// Conversation reset
Expand Down

0 comments on commit 41ddf9b

Please sign in to comment.