/[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 51 by rakin, Mon Jul 29 17:28:23 2024 UTC revision 65 by rakin, Mon Jul 29 17:28:27 2024 UTC
# Line 13  import MessageFilter from '../automod/Me Line 13  import MessageFilter from '../automod/Me
13  import AntiRaid from '../automod/AntiRaid';  import AntiRaid from '../automod/AntiRaid';
14  import Starboard from '../services/Starboard';  import Starboard from '../services/Starboard';
15  import Server from '../api/Server';  import Server from '../api/Server';
16    import Cooldown from '../automod/Cooldown';
17    import StartupManager from '../services/StartupManager';
18    import AutoClear from '../automod/AutoClear';
19    
20  export default class DiscordClient extends Client {  export default class DiscordClient extends Client {
21      private _commands = new Collection<string, BaseCommand>();      private _commands = new Collection<string, BaseCommand>();
# Line 32  export default class DiscordClient exten Line 35  export default class DiscordClient exten
35      antiraid: AntiRaid;      antiraid: AntiRaid;
36      starboard: Starboard;      starboard: Starboard;
37      server: Server;      server: Server;
38        cooldown: Cooldown;
39        startupManager: StartupManager;
40        autoClear: AutoClear;
41    
42      static client: DiscordClient;      static client: DiscordClient;
43    
# Line 58  export default class DiscordClient exten Line 64  export default class DiscordClient exten
64          this.antiraid = new AntiRaid(this);          this.antiraid = new AntiRaid(this);
65          this.starboard = new Starboard(this);          this.starboard = new Starboard(this);
66          this.server = new Server(this);          this.server = new Server(this);
67            this.cooldown = new Cooldown(this);
68            this.startupManager = new StartupManager(this);
69            this.autoClear = new AutoClear(this);
70                    
71          DiscordClient.client = this;          DiscordClient.client = this;
72      }      }

Legend:
Removed from v.51  
changed lines
  Added in v.65

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26