diff --git a/src/structure/mineflayer/Bot.ts b/src/structure/mineflayer/Bot.ts index b7c655e..0a6d9da 100644 --- a/src/structure/mineflayer/Bot.ts +++ b/src/structure/mineflayer/Bot.ts @@ -70,7 +70,7 @@ export default class Bot { this.handleEvents(_bot); this.loadPatterns(_bot); - _bot.whisper = (user: string, msg: string) => this.bot.chat(`/w ${user} ${msg} [w]`); + _bot.whisper = (user: string, msg: string) => this.bot.chat(`/w ${user} ${msg.replace(/ยง/g, "$")} [w]`); return this.bot = _bot; }