mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Add success emoji at end
This commit is contained in:
@@ -3,6 +3,7 @@ const path = require('path');
|
||||
const { letterTrans } = require('custom-translate');
|
||||
const { reactIfAble, delay } = require('../../util/Util');
|
||||
const dictionary = require('../../assets/json/morse');
|
||||
const { SUCCESS_EMOJI_ID } = process.env;
|
||||
|
||||
module.exports = class MorseCommand extends Command {
|
||||
constructor(client) {
|
||||
@@ -60,6 +61,7 @@ module.exports = class MorseCommand extends Command {
|
||||
}
|
||||
await delay(3000);
|
||||
}
|
||||
await reactIfAble(msg, msg.author, SUCCESS_EMOJI_ID, '✅');
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user