v7.0.0-beta, build: 2030

This commit is contained in:
Parker2991
2025-02-03 09:15:29 -06:00
parent 697eed1616
commit 59ab5966c4
22 changed files with 707 additions and 537 deletions
+1 -2
View File
@@ -19,8 +19,7 @@ function inject (context) {
ratelimit--
}, 1000)
if (ratelimit > 2) {
bot.tellraw(`@a[name="${source?.player?.profile?.name}"]`, new MessageBuilder().setText("You are using commands too fast!").setColor("dark_red").toJSON())
// bot.tellraw(`@a[name="${source?.player?.profile?.name}"]`, { text: 'You are using commands too fast!', color: 'dark_red'})
bot.tellraw(`@a[name="${source?.player?.profile?.name}"]`, { text: 'You are using commands too fast!', color: 'dark_red'})
} else if (command.split(" ")[0].length === 0) {
} else {
bot.commandManager.executeString(source, command)