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
+12-14Lines changed: 12 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -13,17 +13,7 @@ const DEFAULT_OPTS = {
13
13
/**
14
14
* A Discord Client, that is basically [discord.js' ``Client``](https://discord.js.org/docs/packages/discord.js/main/Client:Class) but with two functions added for command handling.
15
15
*/
16
-
module.exports=classcDClientextendsClient{
17
-
checkForCredentials({ token }){
18
-
if(!(this.token||token||this.isReady())){
19
-
console.error(
20
-
"Either token must be given or the client must be logged in!"
21
-
);
22
-
returnfalse;
23
-
}
24
-
returntrue;
25
-
}
26
-
16
+
classcDClientextendsClient{
27
17
/**
28
18
* Create, update and delete global and guild application commands.
0 commit comments