/[sudobot]/trunk/src/client/Client.ts
ViewVC logotype

Diff of /trunk/src/client/Client.ts

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 85 by rakin, Mon Jul 29 17:28:32 2024 UTC revision 225 by rakin, Mon Jul 29 17:29:06 2024 UTC
# Line 20  import DebugLogger from '../services/Deb Line 20  import DebugLogger from '../services/Deb
20  import BaseCLICommand from '../utils/structures/BaseCLICommand';  import BaseCLICommand from '../utils/structures/BaseCLICommand';
21  import discordModals from 'discord-modals';  import discordModals from 'discord-modals';
22  import SpamFilter from '../automod/SpamFilter';  import SpamFilter from '../automod/SpamFilter';
23    import Verification from '../services/Verification';
24    import Welcomer from '../services/Welcomer';
25    import Antijoin from '../automod/Antijoin';
26    
27  export default class DiscordClient extends Client {  export default class DiscordClient extends Client {
28      private _commands = new Collection<string, BaseCommand>();      private _commands = new Collection<string, BaseCommand>();
# Line 45  export default class DiscordClient exten Line 48  export default class DiscordClient exten
48      autoClear: AutoClear;      autoClear: AutoClear;
49      randomStatus: RandomStatus;      randomStatus: RandomStatus;
50      debugLogger: DebugLogger;      debugLogger: DebugLogger;
51        verification: Verification;
52        welcomer: Welcomer;
53        antijoin: Antijoin;
54    
55      static client: DiscordClient;      static client: DiscordClient;
56    
# Line 52  export default class DiscordClient exten Line 58  export default class DiscordClient exten
58          super({          super({
59              ws: {              ws: {
60                  properties: {                  properties: {
61                      $browser: "Discord iOS"                      browser: "Discord iOS"
62                  }                  }
63              },              },
64              ...options              ...options
# Line 80  export default class DiscordClient exten Line 86  export default class DiscordClient exten
86          this.autoClear = new AutoClear(this);          this.autoClear = new AutoClear(this);
87          this.randomStatus = new RandomStatus(this);          this.randomStatus = new RandomStatus(this);
88          this.debugLogger = new DebugLogger(this);          this.debugLogger = new DebugLogger(this);
89            this.verification = new Verification(this);
90            this.welcomer = new Welcomer(this);
91            this.antijoin = new Antijoin(this);
92                    
93          discordModals(this);                  discordModals(this);        
94      }      }

Legend:
Removed from v.85  
changed lines
  Added in v.225

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26