1
0
forked from keinBot/cuffeo
This commit is contained in:
Flummi
2018-09-08 12:36:02 +02:00
parent 31be08bed5
commit 7da5f9c653
4 changed files with 27 additions and 49 deletions

View File

@@ -1,4 +1,4 @@
import { getLevel } from "../inc/admin";
import admins 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: getLevel("Telegram", {
level: admins.getLevel("Telegram", {
prefix: `${tmp.from.username}!${tmp.from.id}`,
nick: tmp.from.first_name,
username: tmp.from.username,