1
0
forked from keinBot/cuffeo
This commit is contained in:
Flummi
2018-09-08 12:55:44 +02:00
parent 67238858bd
commit ea3757d86c
4 changed files with 27 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
import admins from "../inc/admin";
import { getLevel } from "../inc/admin";
import fetch from "../inc/fetch";
import EventEmitter from "events";
@@ -105,7 +105,7 @@ export class tg extends EventEmitter {
nick: tmp.from.first_name,
username: tmp.from.username,
account: tmp.from.id.toString(),
level: admins.getLevel("Telegram", {
level: getLevel("Telegram", {
prefix: `${tmp.from.username}!${tmp.from.id}`,
nick: tmp.from.first_name,
username: tmp.from.username,