1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-11-25 23:24:19 +00:00

Added possible fix to a common problem

This commit is contained in:
Steffo 2018-09-24 17:20:40 +02:00 committed by GitHub
parent c2bed5869b
commit 4e5bf3db67
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,9 +17,10 @@ A customizable Telegram shop bot, developed as a project for the final exam.
3. Run `python -OO core.py` to generate the configuration file. 3. Run `python -OO core.py` to generate the configuration file.
4. Open the config folder and edit the `config.ini` file following the contained instructions. 4. Open the config folder and edit the `config.ini` file following the contained instructions.
Ensure the `is_template` field is set to `no`. Ensure the `is_template` field is set to `no`.
5. _Optional: customize the `strings.py` file_ 5. Run `python -OO database.py` to generate the database tables.
6. Run `python -OO core.py` again to run the bot. 6. _Optional: customize the `strings.py` file_
7. Open Telegram, and send a `/start` command to your bot to be promoted to administrator. 7. Run `python -OO core.py` again to run the bot.
8. Open Telegram, and send a `/start` command to your bot to be promoted to administrator.
## Usage ## Usage
All the bot features are available through Telegram. All the bot features are available through Telegram.