Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions src/commands/rr.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import { ForestBotApiClient } from "forestbot-api";
import type Bot from "../structure/mineflayer/Bot.js";

export default {
commands: ["bp", "bestping"],
minArgs: 0,
maxArgs: 1,
execute: async (user, args, bot, api: ForestBotApiClient) => {
var word1 = [
"Rabid",
"Radiant",
"Radical",
"Radioactive",
"Rakish",
"Rambunctious",
"Rampant",
"Raspy",
"Ratty",
"Raucous",
"Ravenous",
"Rebellious",
"Recalcitrant",
"Recondite",
"Reliable",
"Repulsive",
"Resilient",
"Restless",
"Rhetorical",
"Ruthless",
"Registered",
];
var word2 = [
"Raiders",
"Retards",
"Rebels",
"Revolutionaries",
"Reapers",
"Rickrollers",
"Rammsteins",
];
var r1 = Math.floor(Math.random() * word1.length);
var r2 = Math.floor(Math.random() * word2.length);
return bot.bot.chat("RR = " + word1[r1] + " " + word2[r2]);
},
} as MCommand;