/[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 54 by rakin, Mon Jul 29 17:28:24 2024 UTC revision 71 by rakin, Mon Jul 29 17:28:28 2024 UTC
# Line 14  import AntiRaid from '../automod/AntiRai Line 14  import AntiRaid from '../automod/AntiRai
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';  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 34  export default class DiscordClient exten Line 37  export default class DiscordClient exten
37      starboard: Starboard;      starboard: Starboard;
38      server: Server;      server: Server;
39      cooldown: Cooldown;      cooldown: Cooldown;
40        startupManager: StartupManager;
41        autoClear: AutoClear;
42        randomStatus: RandomStatus;
43    
44      static client: DiscordClient;      static client: DiscordClient;
45    
# Line 61  export default class DiscordClient exten Line 67  export default class DiscordClient exten
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);          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.54  
changed lines
  Added in v.71

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26