/[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 58 by rakin, Mon Jul 29 17:28:25 2024 UTC revision 71 by rakin, Mon Jul 29 17:28:28 2024 UTC
# Line 15  import Starboard from '../services/Starb Line 15  import Starboard from '../services/Starb
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';  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 36  export default class DiscordClient exten Line 38  export default class DiscordClient exten
38      server: Server;      server: Server;
39      cooldown: Cooldown;      cooldown: Cooldown;
40      startupManager: StartupManager;      startupManager: StartupManager;
41        autoClear: AutoClear;
42        randomStatus: RandomStatus;
43    
44      static client: DiscordClient;      static client: DiscordClient;
45    
# Line 64  export default class DiscordClient exten Line 68  export default class DiscordClient exten
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);          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.58  
changed lines
  Added in v.71

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26