mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 02:36:11 +10:00
message react with caution emoji if failed.
This commit is contained in:
1
index.js
1
index.js
@@ -132,6 +132,7 @@ function doPMCommand(msg, prefix) {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error('There was an error running: ' + command);
|
console.error('There was an error running: ' + command);
|
||||||
console.error(err.stack);
|
console.error(err.stack);
|
||||||
|
msg.react('⚠️')
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
msg.react('⛔')
|
msg.react('⛔')
|
||||||
|
|||||||
Reference in New Issue
Block a user