You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: index.js
+23-21
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,7 @@ class DisStat extends EventEmitter {
12
12
this.botId=""
13
13
this.bot={}
14
14
this.autoposting=false
15
-
16
-
this.unposted={
17
-
commands: []
18
-
}
15
+
this.unpostedCustom=[]
19
16
20
17
if(!apiKeyInput)thrownewTypeError("No DisStat API key provided as first argument. You can find the API key on the Manage Bot page of your bot.")
21
18
if(!apiKeyInput.startsWith("DS-"))console.warn("[DisStat "+newDate().toLocaleTimeString()+"] The provided API key as first argument doesn't start with \"DS-\".")
@@ -33,12 +30,14 @@ class DisStat extends EventEmitter {
0 commit comments