mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 01:57:54 +02:00
Minor Bug Fix
This commit is contained in:
@@ -79,7 +79,7 @@ client.on('message', async (msg) => {
|
|||||||
return msg.reply(response)
|
return msg.reply(response)
|
||||||
.then(() => msg.channel.stopTyping());
|
.then(() => msg.channel.stopTyping());
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return msg.reply(err)
|
return msg.reply('An Error Occurred.')
|
||||||
.then(() => msg.channel.stopTyping());
|
.then(() => msg.channel.stopTyping());
|
||||||
}
|
}
|
||||||
} else return;
|
} else return;
|
||||||
|
|||||||
Reference in New Issue
Block a user