import os
from dotenv import load_dotenv

load_dotenv('.env')

API_ID = os.getenv('API_ID')
API_HASH = os.getenv('API_HASH')
BOT_TOKEN = os.getenv('BOT_TOKEN')
WATERMARK = os.getenv(
    'WATERMARK', 'https://user-images.githubusercontent.com/66209958/109513526-35883200-7acb-11eb-97ed-c0b2ca72119a.png')
X_OFF = int(os.getenv('X_OFF', '10'))
Y_OFF = int(os.getenv('Y_OFF', '10'))

HELP = '''
The bot supports the following :

1. `/start` : start the bot or check if the server is running
2. `/setimg` : set the image for applying as watermark.
   - Syntax: `/setimg [URL]` where `URL` is the url of the image hosted online.
   - Example: `/setimg https://user-images.githubusercontent.com/66209958/109513526-35883200-7acb-11eb-97ed-c0b2ca72119a.png`
3. `/setpos` set the position to apply the watermark relative to the top left origin.
   - Syntax: `/setpos [X_OFF]*[Y_OFF]`
   - Example: `/setpos 100*100`
4. Send a GIF or short video : the bot will return it after applying watermark
'''
