https://github.com/mrmarble/asfbot
Telegram bot for ASF
https://github.com/mrmarble/asfbot
Last synced: 20 days ago
JSON representation
Telegram bot for ASF
- Host: GitHub
- URL: https://github.com/mrmarble/asfbot
- Owner: MrMarble
- Created: 2017-07-22T09:46:18.000Z (over 8 years ago)
- Default Branch: new
- Last Pushed: 2022-12-07T23:59:54.000Z (about 3 years ago)
- Last Synced: 2025-03-11T03:44:53.682Z (10 months ago)
- Language: Python
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ASFBot
Telegram bot for [ArchiSteamFarm](https://github.com/JustArchi/ArchiSteamFarm)
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
### Prerequisites
You need to have python3 installed in your system along with virtualenv and git.
```bash
sudo apt-get install python3
sudo apt-get install git
pip3 install virtualenv
```
### Installing
Clone the repository
```
git clone https://github.com/MrMarble/ASFBot.git
```
Then lets make a virtual env to keep all the necessary files together
```
virtualenv ASFBot/
```
Now simply source into the virtualenv
```
source ASFBot/bin/activate
```
Install the requirements
```
pip install -r ASFBot/requirements.txt
```
And it sould be done
### Configuration
Explain what these tests test and why
```json
{
"Telegram": {
"language": "",
"ignore": [],
"TOKEN": "",
"admin": []
},
"ASF": {
"host": "",
"port": ""
}
}
```
1. Telegram:
* language: Here you can config the language of the bot, at the moment only "es-ES" and "en-US" are available
* ignore: This list will grow if someone that isn't in admin list talk to your bot
* TOKEN: Here goes yout telegram api token, to get yours simply talk to @BotFather
* admin: Here you can introduce the IDs of the users who can access the bot, you can leave it empty but anyone could control your accounts!
2. ASF:
* host: You need to put the ip of where ASF is running in server mode
* port: The port where ASF is running in server mode