mirror of
https://github.com/hencaric/SCNewsBot.git
synced 2026-08-16 22:46:03 +01:00
add installation guide
This commit is contained in:
@@ -1,2 +1,11 @@
|
|||||||
# scnewsbot
|
# scnewsbot
|
||||||
A bot for the r/starcitizen Discord server.
|
A bot for the r/starcitizen Discord server.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
1. Make sure you have installed [Python](https://python.org) (>=3.11), [Git](https://git-scm.org), and [Poetry](https://pypi.org/project/poetry).
|
||||||
|
2. Clone the repository to your hard drive. (`git clone https://github.com/mudkipdev/scnewsbot`)
|
||||||
|
3. Run `cd scnewsbot` and `poetry install` to install the required dependencies.
|
||||||
|
4. Copy the `example.config.toml` and `example.env` files to `config.toml` and `.env` respectively.
|
||||||
|
5. Edit the config files to your liking, then run the bot using `poetry run python scnewsbot` (This might be `py`, `python3` or `python3.11` depending on your operating system).
|
||||||
|
|
||||||
|

|
||||||
3
example.env
Normal file
3
example.env
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
DISCORD_TOKEN=Your Discord bot token.
|
||||||
|
JISHAKU_NO_UNDERSCORE=1
|
||||||
|
JISHAKU_HIDE=1
|
||||||
Reference in New Issue
Block a user