pomelo-discord-bot

所属分类:聊天室
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2023-11-20 17:55:23
上 传 者sh-1993
说明:  具有许多简单功能的Discord bot,用于娱乐。
(Discord bot with lots of simple functionalities, made for fun, used for fun.)

文件列表:
.flake8 (30, 2023-11-20)
.pre-commit-config.yaml (562, 2023-11-20)
LICENSE (1073, 2023-11-20)
data/ (0, 2023-11-20)
data/8ball_responses.txt (411, 2023-11-20)
poetry.lock (161971, 2023-11-20)
pyproject.toml (857, 2023-11-20)
requirements.txt (133, 2023-11-20)
src/ (0, 2023-11-20)
src/cogs/ (0, 2023-11-20)
src/cogs/fun.py (13233, 2023-11-20)
src/cogs/mod.py (6236, 2023-11-20)
src/cogs/utils.py (8553, 2023-11-20)
src/main.py (3407, 2023-11-20)
src/utilities.py (6948, 2023-11-20)

# Pomelo Discord Bot Discord bot for fun. Ripe, fresh and juicy. # How to run Pomelo locally 1. Clone the repository. 2. Set the working directory as the root directory of the repository (`/pomelo-discord-bot` by default). 3. Get the necessary API tokens and set them up as environmental variables: - Discord bot token - Google Maps API token - MongoDB's connection token (full identifier) 4. Execute `poetry install`. 5. Run the script by executing `poetry run python src/main.py`. ## FAQ - When executing a command that connects to MongoDB, I get "certificate verify failed: certificate has expired" error. What do I do? The Root CA the Mongo Atlas uses has expired. Install ISRG Root X1, ISRG Root X2 and Let's Encrypt R3 certificates from [here](https://letsencrypt.org/certificates/). - How could I run Pomelo from AWS? Ahh, those were the days. Use [crontab](https://man7.org/linux/man-pages/man5/crontab.5.html) together with [nohup](https://en.wikipedia.org/wiki/Nohup). You should find a relevant, thorough guide somewhere. ## History of Pomelo the Traveler List of hosting services Pomelo used, in chronological order: 1. Localhost (sic!) 2. replit.com (I'm not even joking) 3. AWS (my wallet still hurts) 4. Heroku (it was wonderful) 5. Raspberry Pi

近期下载者

相关文件


收藏者