sets lol
This commit is contained in:
@@ -11,11 +11,13 @@ export class tg extends EventEmitter {
|
||||
this.options = options || {};
|
||||
this.token = options.token || null;
|
||||
this.options.pollrate = options.pollrate || 1000;
|
||||
this.set = this.options.set || "all";
|
||||
this.network = "Telegram";
|
||||
this.api = `https://api.telegram.org/bot${this.token}`;
|
||||
this.lastUpdate = 0;
|
||||
this.lastMessage = 0;
|
||||
this.server = {
|
||||
set: this.set,
|
||||
channel: new Map(),
|
||||
user: new Map(),
|
||||
me: {},
|
||||
|
||||
Reference in New Issue
Block a user