rmtrollbot 4.3.0 → 5.0.0
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.
- package/README.md +3 -1
- package/index.mts +0 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -98,7 +98,9 @@ const bot = TrollBot.of("clanker", "gray")
|
|
|
98
98
|
```
|
|
99
99
|
Also there is new documentation! (more soon though...)
|
|
100
100
|
### New for v4.2.0!
|
|
101
|
-
Since the owner (a.k.a. agzgt2) is going to KidZania soon,
|
|
101
|
+
Since the owner (a.k.a. agzgt2) is going to KidZania soon, i added KidZania easter eggs!
|
|
102
|
+
## New for v5.0.0!
|
|
103
|
+
Removal of the KidZania easter eggs have been made, please use [`@rmtrollbot/kidzania`](https://www.npmjs.com/package/@rmtrollbot/kidzania) instead.
|
|
102
104
|
# Extensions
|
|
103
105
|
[`rmtrollbot-decode`](https://www.npmjs.com/package/rmtrollbot-decode?activeTab=readme): Decoder for rmtrollbot<br>
|
|
104
106
|
[`rmtrollbot-ping`](https://www.npmjs.com/package/rmtrollbot-ping): Ping example
|
package/index.mts
CHANGED
|
@@ -122,17 +122,7 @@ export class TrollBot {
|
|
|
122
122
|
editByID(id: rmtbID, newt: string) {
|
|
123
123
|
this.socket.emit("edit_ownid", id, newt)
|
|
124
124
|
}
|
|
125
|
-
kidzania(){
|
|
126
|
-
this.socket.send("The owner of <a href=\"https://www.npmjs.com/package/rmtrollbot\">this package</a> is going to kidzania!")
|
|
127
|
-
}
|
|
128
125
|
static of(name: string, color: string, tag: string = "bot"){
|
|
129
126
|
return new TrollBot(name, color, tag)
|
|
130
127
|
}
|
|
131
|
-
static kidzania(bot?: TrollBot){
|
|
132
|
-
if (bot){
|
|
133
|
-
bot.send("The owner of <a href=\"https://www.npmjs.com/package/rmtrollbot\">this package</a> is going to kidzania!")
|
|
134
|
-
} else {
|
|
135
|
-
console.log("agzgt2 is going to KidZania!")
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
128
|
}
|