/[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 65 by rakin, Mon Jul 29 17:28:27 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    
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 36  export default class DiscordClient exten Line 37  export default class DiscordClient exten
37      server: Server;      server: Server;
38      cooldown: Cooldown;      cooldown: Cooldown;
39      startupManager: StartupManager;      startupManager: StartupManager;
40        autoClear: AutoClear;
41    
42      static client: DiscordClient;      static client: DiscordClient;
43    
# Line 64  export default class DiscordClient exten Line 66  export default class DiscordClient exten
66          this.server = new Server(this);          this.server = new Server(this);
67          this.cooldown = new Cooldown(this);          this.cooldown = new Cooldown(this);
68          this.startupManager = new StartupManager(this);          this.startupManager = new StartupManager(this);
69            this.autoClear = new AutoClear(this);
70                    
71          DiscordClient.client = this;          DiscordClient.client = this;
72      }      }

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26