yolkbot 0.1.0-alpha.21 → 0.1.0-alpha.22

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yolkbot",
3
3
  "description": "create a shell shockers (self) bot in under 10 lines.",
4
- "version": "0.1.0-alpha.21",
4
+ "version": "0.1.0-alpha.22",
5
5
  "keywords": [
6
6
  "shell shockers",
7
7
  "shellshock.io",
package/src/bot.js CHANGED
@@ -43,12 +43,6 @@ export class Bot {
43
43
  static Intents = intents;
44
44
  Intents = intents;
45
45
 
46
- // params.proxy - a socks(4|5) proxy
47
- // params.instance - a custom shell URL to run requests through
48
- // params.doUpdate - whether to auto update
49
- // params.updateInterval - the auto update interval
50
- // params.doPing - whether to auto ping (for bot.<ping>)
51
- // params.pingInterval - the ping interval
52
46
  constructor(params = {}) {
53
47
  if (params.proxy && IsBrowser)
54
48
  throw new Error('proxies do not work and hence are not supported in the browser');
@@ -132,7 +132,16 @@ export interface ChiknWinnerResponse {
132
132
  rewardTier: number;
133
133
  }
134
134
 
135
+ type intents = {
136
+ CHALLENGES: 1,
137
+ STATS: 2,
138
+ PATHFINDING: 3
139
+ }
140
+
135
141
  export class Bot {
142
+ static Intents: intents;
143
+ Intents: intents;
144
+
136
145
  proxy: string;
137
146
  name?: string;
138
147
  autoPing: boolean;