mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Improve discord docs (#836)
* add relative path to the terminal * add troubleshoot message to README * minor fix * Update labels.yml
This commit is contained in:
2
.github/workflows/labels.yml
vendored
2
.github/workflows/labels.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
||||
with:
|
||||
mode: minimum
|
||||
count: 1
|
||||
labels: "website, bug, build, do not merge, docker, docs, duplicate, enhancement, feat XS, feat S, feat M, feat L, feat XL, help wanted, refactor, tests"
|
||||
labels: "website, bug, build, do not merge, docker, docs, duplicate, enhancement, feat XS, feat S, feat M, feat L, feat XL, help wanted, refactor, tests, discord"
|
||||
- uses: mheap/github-action-required-labels@v1
|
||||
with:
|
||||
mode: exactly
|
||||
|
||||
6
discordbot/README.md
vendored
6
discordbot/README.md
vendored
@@ -98,6 +98,12 @@ See more in [CONTRIBUTING.md](discordbot/CONTRIBUTING.md).
|
||||
|
||||
## Bugs
|
||||
|
||||
If when trying to run the discord bot you receive the following error
|
||||
```
|
||||
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
|
||||
```
|
||||
The solution is to browse to `Applications/Python 3.x` and double-click `Install Certificates.command`.
|
||||
|
||||
If an error occurs, use `DEBUG=True` on the [config_discordbot.py](gamestonk_terminal/config_discordbot.py) file.
|
||||
|
||||
Then, report what is the issue with the console output attached either by:
|
||||
|
||||
@@ -8,9 +8,8 @@ env_files = [f for f in os.listdir() if f.endswith(".env")]
|
||||
if env_files:
|
||||
load_dotenv(env_files[0])
|
||||
|
||||
# Path to the terminal
|
||||
GST_PATH = os.path.join("~", "Documents", "GamestonkTerminal")
|
||||
sys.path.append(GST_PATH)
|
||||
# Relative path to the terminal
|
||||
sys.path.append("..")
|
||||
|
||||
# https://discord.com/developers/applications/
|
||||
DISCORD_BOT_TOKEN = os.getenv("GT_DISCORD_BOT_TOKEN") or "REPLACE_ME"
|
||||
|
||||
Reference in New Issue
Block a user