mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 18:05:01 +02:00
Node 15
This commit is contained in:
@@ -23,6 +23,6 @@ module.exports = class SnakeSpeakCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg, { text }) {
|
||||
return msg.say(text.replace(/s/gi, 'sssss'));
|
||||
return msg.say(text.replaceAll('s', 'sssss').replaceAll('S', 'SSSSS'));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user