npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

rmtrollbot

v6.0.0

Published

A package making the producing of rmtrollbox bots easier.

Downloads

156

Readme

Reversed Meow TrollBot

Package QualityNPM (prod) Dependency VersionNPM (prod) Dependency VersionNPM DownloadsNPM Dependency Tree

About

A package making the producing of rmtrollbox bots easier. To start a bot, you must start a new TrollBot element.

let bot = new TrollBot("clanker", "gray")

You can recieve messages using onMessage

bot.onMessage((data)=>{
    bot.send("aw hell nah i'm out of here")
    bot.disconnect()
})

You can see how people leave and join using onUser

bot.onUser("join", ...)
bot.onUser("leave", ...)

You can also update your user list by using onUserUpdate

bot.onUserUpdate((data)=>{
    console.log("user list updated!")
})

New for v1.1.0!

You can now change the bot's name, and color!

bot.changeName("i clanker")
bot.changeColor("black")
bot.changeBack()

It also has anti-colorcrash

bot.changeColor("#272822") // NICE TRY!!

New for v2.0.0!

All types are now moved to rmtrollbot-types.

New for v2.1.0!

Tags are now supported!

let bot = new TrollBot("clankah", "#BFBFBF", "bot" /* Defaults to "bot" */)

Same as for v1.1.0, you can also change the tag!

bot.changeTag("") // Changes tag from "bot" to ""
bot.changeBack()  // Changes tag back to "bot"

New for v3.0.0!

This package now uses @rmtrollbot/loader instead of socket.io-client Also there is now support for editing, deleting, and IDs!

/* Deleting last message */
bot.send("FREE ROBUX AT [redacted]")
bot.deleteLastMessage()

/* On message deletion */
bot.onMessageDelete((id)=>{
    console.log(`Message with id ${id} has been deleted!`)
})

/* Deleting by ID + Getting ID */
bot.send("freak bait!")
bot.lastMessageID((id)=>{
    bot.deleteByID(id)
})

/* Editing message (both by ID and by last message) */
bot.send("secret message!")
bot.editLastMessage("awh... you missed it!")
// or...
bot.lastMessageID((id)=>{
    bot.editByID(id, "awh... you missed it!")
})

New for v3.1.0!

Dang, these updates are comming FAST! Now, rmtrollbot uses ora when initializing a bot! Send any issues/suggestions for this package here!

New for v3.2.0!

UH OH!!! UPDATE OVERFLOW!!!! now, it uses @rmtrollbot/types instead of rmtrollbot-types, since rmtrollbot-types is deprecated.

New for v4.0.0!

rmtrollbot now uses yocto-spinner instead of ora, since ora installs more dependencies than yocto-spinner, and i don't want that.

New for v4.1.0!

Now, the emit() function has changed mechanics.

bot.emit("delet") /* Acts normally like socket.emit() */

bot.emit("message", "hi!") /* Acts like socket.send() */

And there is now a Trollbot.of() function.

const bot = new Trollbot("clanker", "gray")
// is the same as...
const bot = TrollBot.of("clanker", "gray")

Also there is new documentation! (more soon though...)

New for v4.2.0!

Since the owner (a.k.a. agzgt2) is going to KidZania soon, i added KidZania easter eggs!

New for v5.0.0!

Removal of the KidZania easter eggs have been made, please use @rmtrollbot/kidzania instead.

New for v6.0.0!

You can control which thing to change back now!

bot.changeBack() // Changes name, color, and tag
bot.changeBack({ name: true, tag: true }) // Changes name, and tag

You can also chain commands now!

bot.changeNick("le clanker").send("beep beep boop")

Extensions

rmtrollbot-decode: Decoder for rmtrollbot rmtrollbot-ping: Ping example

Other Package Managers

These are the other package managers that are also supported.

PNPM

To install this package by PNPM, run the following:

pnpm i rmtrollbot

YARN

To install this package by Yarn, run the following:

yarn add rmtrollbot

Check out the same package in the Yarn website here!

DENO

To install this package by Deno, run the following:

deno install npm:rmtrollbot

BUN

To install this package by Bun, run the following:

bun add rmtrollbot

vs. trollbox-bot

From v3.2.2

Comparison between trollbox-bot and rmtrollbot

From v4.0.0

Comparison between trollbox-bot and rmtrollbot

Bots using this package

None have been recorded, but please use this package