mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Minor Fixes
This commit is contained in:
@@ -59,7 +59,7 @@ module.exports = class MorseCommand extends Command {
|
||||
prompt: 'What text would you like to convert to morse?',
|
||||
type: 'string',
|
||||
validate: content => {
|
||||
if (translator.letterTrans(content, morse).length < 1900) {
|
||||
if (translator.letterTrans(content, morse, ' ').length < 1900) {
|
||||
return true;
|
||||
}
|
||||
return 'Your text to encode is too long.';
|
||||
|
||||
@@ -32,4 +32,4 @@ module.exports = class TemmieCommand extends Command {
|
||||
const temmized = translator.wordTrans(text, dictionary);
|
||||
return message.say(`\u180E${temmized}`);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "24.0.0",
|
||||
"version": "24.0.1",
|
||||
"description": "A Discord Bot",
|
||||
"main": "shardingmanager.js",
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user