Parent Directory
|
Revision Log
Release version 2.0.0-beta2
1 | import BaseEvent from '../../utils/structures/BaseEvent'; |
2 | import DiscordClient from '../../client/Client'; |
3 | import { runTimeouts } from '../../utils/setTimeout'; |
4 | |
5 | export default class ReadyEvent extends BaseEvent { |
6 | constructor() { |
7 | super('ready'); |
8 | } |
9 | |
10 | async run(client: DiscordClient) { |
11 | console.log(`\nLogged in as ${client.user!.tag}!`); |
12 | client.server.run(); |
13 | runTimeouts(); |
14 | client.startupManager.boot(); |
15 | client.randomStatus.update(); |
16 | } |
17 | } |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |