Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
N0rz3 authored Aug 9, 2023
1 parent e94f46a commit 97d3b21
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions modules/email_modules/chess.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
from lib.agents import user_agent
from lib.requests import Requests
from lib.text import *
import random

async def chess(email):
URL = "https://www.chess.com/callback/email/exist?email={}"

headers = {
'user-agent': random.choice(user_agent())
}

r = await Requests(URL.format(email), headers).get()

if r.status_code == 200:
return f"\r{GREEN}✔️ Chess{WHITE}\n"

elif r.status_code == 404:
return f"\r{RED}❌ Chess{WHITE}\n"

else:
return f"\r{RED}❌ Chess{WHITE}\n"

0 comments on commit 97d3b21

Please sign in to comment.