forked from kate/uniborg
Add license header
This commit is contained in:
parent
3e5b6fddb3
commit
8c0f04c0cb
|
@ -1,5 +1,9 @@
|
||||||
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
import time
|
|
||||||
from telethon import events
|
from telethon import events
|
||||||
import telethon.tl.functions as tlf
|
import telethon.tl.functions as tlf
|
||||||
from telethon.tl.types import InputPeerChannel, UpdateUserBlocked
|
from telethon.tl.types import InputPeerChannel, UpdateUserBlocked
|
||||||
|
@ -8,6 +12,7 @@ from telethon.tl.functions.contacts import GetBlockedRequest
|
||||||
|
|
||||||
# How often to fetch the full list of blocked users
|
# How often to fetch the full list of blocked users
|
||||||
REFETCH_TIME = 60
|
REFETCH_TIME = 60
|
||||||
|
|
||||||
blocked_user_ids = set()
|
blocked_user_ids = set()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue