mirror of
https://github.com/abocn/TelegramBot-SpamWatch.git
synced 2025-03-10 04:39:57 +00:00
Removed generator to migrate to another branch
This commit is contained in:
parent
f0efeb63c4
commit
505bf6db3e
@ -1,12 +0,0 @@
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
import spamwatch
|
||||
|
||||
load_dotenv("config.env")
|
||||
|
||||
client = spamwatch.Client(os.getenv('SW_KEY'))
|
||||
bans = client.get_bans_min()
|
||||
|
||||
with open('sw_blocklist.txt', 'w') as file:
|
||||
for ban in bans:
|
||||
file.write(f'{ban}\n')
|
@ -1,3 +0,0 @@
|
||||
pip install -r requirements.txt
|
||||
echo SW_KEY=APIKEY >> config.env # put your api key here
|
||||
python main.py
|
@ -1,2 +0,0 @@
|
||||
python-dotenv
|
||||
spamwatch
|
Loading…
x
Reference in New Issue
Block a user