11 lines
396 B
Python
11 lines
396 B
Python
# Create a new bot by messaging @BotFather and follow the instructions
|
|
# Replace the key by the actual token recieved from BotFather
|
|
api_key = "123456789:xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
|
|
# User ID of the user allowed to use the bot. Replace 123456789 with
|
|
# your own user id.
|
|
master_id = 123456789
|
|
|
|
# Command to lock the screen. Replace the command with actual command.
|
|
lock = "xautolock -locknow"
|