✌️
This commit is contained in:
parent
6a5c6280ff
commit
fffea98462
5 changed files with 66 additions and 16 deletions
|
|
@ -4,11 +4,11 @@ import * as bcrypt from 'bcryptjs';
|
|||
import User, { IUser } from '../models/user';
|
||||
|
||||
export default class BotCore extends EventEmitter {
|
||||
public user: IUser;
|
||||
public user: IUser = null;
|
||||
|
||||
private context: Context = null;
|
||||
|
||||
constructor(user: IUser) {
|
||||
constructor(user?: IUser) {
|
||||
super();
|
||||
|
||||
this.user = user;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue