rmtrollbot 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.mts +1 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
  A package making the producing of rmtrollbox bots easier.<br>
3
3
  To start a bot, you must start a new TrollBot element
4
4
  ```ts
5
- let bot = new Bot("clanker", "gray")
5
+ let bot = new TrollBot("clanker", "gray")
6
6
  ```
7
7
  You can recieve messages using `onMessage`
8
8
  ```ts
package/index.mts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { io } from "socket.io-client";
2
2
 
3
3
  export type message = {
4
+ nick: string; // This is not shown in the RMTrollbox Manual, but does exist
4
5
  sid: string;
5
6
  bot: boolean;
6
7
  // style is unused
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rmtrollbot",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "A package making the producing of rmtrollbox bots easier.",
5
5
  "main": "index.mts",
6
6
  "scripts": {