/[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 71 by rakin, Mon Jul 29 17:28:28 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    import RandomStatus from '../services/RandomStatus';
20    
21  export default class DiscordClient extends Client {  export default class DiscordClient extends Client {
22      private _commands = new Collection<string, BaseCommand>();      private _commands = new Collection<string, BaseCommand>();
# Line 32  export default class DiscordClient exten Line 36  export default class DiscordClient exten
36      antiraid: AntiRaid;      antiraid: AntiRaid;
37      starboard: Starboard;      starboard: Starboard;
38      server: Server;      server: Server;
39        cooldown: Cooldown;
40        startupManager: StartupManager;
41        autoClear: AutoClear;
42        randomStatus: RandomStatus;
43    
44      static client: DiscordClient;      static client: DiscordClient;
45    
# Line 58  export default class DiscordClient exten Line 66  export default class DiscordClient exten
66          this.antiraid = new AntiRaid(this);          this.antiraid = new AntiRaid(this);
67          this.starboard = new Starboard(this);          this.starboard = new Starboard(this);
68          this.server = new Server(this);          this.server = new Server(this);
69            this.cooldown = new Cooldown(this);
70            this.startupManager = new StartupManager(this);
71            this.autoClear = new AutoClear(this);
72            this.randomStatus = new RandomStatus(this);
73                    
74          DiscordClient.client = this;          DiscordClient.client = this;
75      }      }

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26