/[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 57 by rakin, Mon Jul 29 17:28:24 2024 UTC revision 58 by rakin, Mon Jul 29 17:28:25 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    
19  export default class DiscordClient extends Client {  export default class DiscordClient extends Client {
20      private _commands = new Collection<string, BaseCommand>();      private _commands = new Collection<string, BaseCommand>();
# Line 34  export default class DiscordClient exten Line 35  export default class DiscordClient exten
35      starboard: Starboard;      starboard: Starboard;
36      server: Server;      server: Server;
37      cooldown: Cooldown;      cooldown: Cooldown;
38        startupManager: StartupManager;
39    
40      static client: DiscordClient;      static client: DiscordClient;
41    
# Line 61  export default class DiscordClient exten Line 63  export default class DiscordClient exten
63          this.starboard = new Starboard(this);          this.starboard = new Starboard(this);
64          this.server = new Server(this);          this.server = new Server(this);
65          this.cooldown = new Cooldown(this);          this.cooldown = new Cooldown(this);
66            this.startupManager = new StartupManager(this);
67                    
68          DiscordClient.client = this;          DiscordClient.client = this;
69      }      }

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26