This commit is contained in:
mrbesen 2020-12-01 14:38:27 +01:00
parent 589fd898f2
commit f6196f3a1f
Signed by: MrBesen
GPG Key ID: 596B2350DCD67504
1 changed files with 2 additions and 0 deletions

View File

@ -126,6 +126,8 @@ public class TelegramAPI implements Runnable {
admins.add(admin);
}
public boolean isAdmin(long admin) { return admins.contains(admin); }
public void request(Task task) {
async.enque(task);
}