在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:KoalaBotUK/KoalaBot开源软件地址:https://github.com/KoalaBotUK/KoalaBot开源编程语言:Python 99.7%开源软件介绍:KoalaBotKoalaBot is a free open source discord bot being developed by students from around the UK. Our aim is to ensure university society committee leaders can access all they need and from one easy to use discord bot to improve their server and society! Developers
All of our other amazing developers can be seen on our website https://koalabot.uk See also the list of contributors to this repo. LicenseThis project is licensed under the MIT License - see the LICENSE.md file for details Getting StartedThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. PrerequisitesThis application uses python 3.8 which you can download here All python packages you need can be found in the requirements.txt. Before running the bot you must install these as so: $ pip3 install -r requirements.txt LinuxOn linux, database encryption will be enabled. Therefore, further packages are needed. $ sudo apt install libsqlcipher-dev Environment VariablesBefore running the bot you will need to create a
Running KoalaBotIf all prerequisites have been followed, you can start KoalaBot with the following command $ python3 koalabot.py Running KoalaBot with DockerHere are some example snippets to help you get started creating a container. click here for more info)docker-compose (recommended,---
version: "3.9"
services:
transmission:
image: jaydwee/koalabot
container_name: KoalaBot
environment:
- DISCORD_TOKEN = bot_token
- BOT_OWNER = owner_user_id #optional
- ENCRYPTED = boolean #optional
- SQLITE_KEY = key #optional
- TWITCH_TOKEN = twitch_application_token #optional (TwitchAlert)
- TWITCH_SECRET = twitch_application_secret #optional (TwitchAlert)
- GMAIL_EMAIL = [email protected] #optional (Verify)
- GMAIL_PASSWORD = example_password123 #optional (Verify)
volumes:
- <path to data>:/config
restart: unless-stopped click here for more info)docker cli (docker run \
--name=Koala \
-e DISCORD_TOKEN=bot_token \
-e BOT_OWNER=owner_user_id `#optional` \
-e ENCRYPTED=boolean `#optional` \
-e SQLITE_KEY=key `#optional` \
-e TWITCH_TOKEN=twitch_application_token `#optional (TwitchAlert)` \
-e TWITCH_SECRET=twitch_application_secret `#optional (TwitchAlert)` \
-e [email protected] `#optional (Verify)` \
-e GMAIL_PASSWORD=example_password123 `#optional (Verify)` \
-v <path to data>:/config \
--restart unless-stopped \
jaydwee/koalabot Using Env FileAdd Versions
Links
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论