Skip to content

AlexandrVino/TurnPCBot

Repository files navigation

TurnPCBot


Table of Contents
  1. About The Project
  2. Getting Started

About The Project

Now, in conditions of isolation, many companies are forced to transfer employees to remote work. And often computers are always on, which is bad. And so I decided to write this bot.

Built With

(back to top)

Getting Started

Installation

If you want to use your bot with my code:

  1. Clone the repo
    git clone https://github.com/AlexandrVino/TurnPCBot.git
  2. Install Python packages
    pip install -r requirements.txt
  3. Create .env file with db and bot data (Example: env-example.env)
  4. Enter your Bot Name in data/config.py
    #
    # You should reset bot name if your bot launch on your company server; 
    # else if you use @TurnOnPcBot should globally turn server from https://github.com/AlexandrVino/TurnOnPcBotServer.git) 
    # 
    BOT_NAME = 'TurnOnPcBot'  # Your bot name here (can be like "")
else: (isn't worked because bot not deployed to server)
  1. Clone the repo

    git clone https://github.com/AlexandrVino/TurnOnPcBotServer.git
  2. Globally turn server.

    # For example download ngrok from https://ngrok.com/download
    # Turn in shell with any free port
    # Example (in ngrok shell): ./ngrok http 4567
  3. Set host in bot

    # Example bot command: /host http://7e9ea9dc.ngrok.io 

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published