You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sendEmbedMessage(`**Response:**\nI'm sorry, I couldn't find a response to your question. Please try again later.`),
114
+
],
115
+
});
116
+
}
117
+
}catch(error){
118
+
console.error(error);
119
+
}
120
+
}else{
121
+
// if the command is not from the channel
122
+
message.reply({
123
+
content: `Hey <@${message.author.id}> 👇`,
124
+
embeds: [sendEmbedMessage(`You can ask me all things thirdweb in the <#${ASKAI_CHANNEL}> channel. Just type your question after the command \`!askai\` or \`!ask\` to get started.`)],
125
+
});
98
126
}
99
-
}else{
100
-
message.reply({
101
-
content: `Hey <@${message.author.id}> 👇`,
102
-
embeds: [sendEmbedMessage(`You can ask me all things thirdweb in the <#${ASKAI_CHANNEL}> channel. Just type your question after the command \`!askai\` or \`!ask\` to get started.`)],
103
-
});
104
127
}
105
128
}
106
129
// respond to user if the bot mentioned specifically not with everyone
0 commit comments