mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-13 08:19:08 +02:00
Beep
This commit is contained in:
@@ -34,7 +34,7 @@ module.exports = class ZalgoCommand extends Command {
|
||||
down: Math.floor(Math.random() * 8) + 1
|
||||
};
|
||||
for (const type of Object.keys(counts)) {
|
||||
const count = counts[type];
|
||||
let count = counts[type];
|
||||
const chars = zalgo[type];
|
||||
while (count--) result += chars[Math.floor(Math.random() * chars.length)];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user