We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20db5e9 commit 36ca878Copy full SHA for 36ca878
1 file changed
util/chatSend.js
@@ -13,10 +13,11 @@ const chatSend = async (message) => {
13
.then(res => {
14
let data = res.data;
15
let reply = data.cnt
16
+console.log(reply)
17
if (reply) {
18
message.channel.stopTyping();
- message.sendInline(reply.cnt, { allowedMentions: { repliedUser: false } });
19
- } else if(!reply) {
+ message.sendInline(reply, { allowedMentions: { repliedUser: false } });
20
+ } else if(!reply) {
21
22
message.sendInline("api did not respond at time [TIME OUT]", { allowedMentions: { repliedUser: false } });
23
}
0 commit comments