Clarence-Bot
所属分类:聊天室
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2023-11-06 08:02:39
上 传 者:
sh-1993
说明: 具有管理、娱乐和信息命令的多功能discord bot
(A multipurpose discord bot with admin, fun and information commands)
文件列表:
.cspell.json (1262, 2023-11-28)
.dockerignore (2085, 2023-11-28)
.env.template (379, 2023-11-28)
.eslintrc.json (720, 2023-11-28)
.husky/ (0, 2023-11-28)
.husky/pre-commit (69, 2023-11-28)
.nvmrc (7, 2023-11-28)
.prettierignore (36, 2023-11-28)
.prettierrc (74, 2023-11-28)
.release-please-manifest.json (18, 2023-11-28)
CHANGELOG.md (13799, 2023-11-28)
LICENSE (1070, 2023-11-28)
commitlint.config.js (75, 2023-11-28)
dev.docker-compose.yml (620, 2023-11-28)
dev.dockerfile (189, 2023-11-28)
docker-compose.yml (623, 2023-11-28)
dockerfile (201, 2023-11-28)
docs/ (0, 2023-11-28)
docs/Privacy Policy.md (757, 2023-11-28)
docs/TOS.md (271, 2023-11-28)
package.json (1970, 2023-11-28)
release-please-config.json (1076, 2023-11-28)
... ...
---
This bot features multiple command types from:
- Admin
- Fun
- General
- Info
---
## Installation
### Docker
Due to the [Publish.yml](https://github.com/Ki-er/Clarence-Bot/blob/master/.github/workflows/publish.yml) workflow, the newest build will automatically be pushed to DockerHub.
Using a tool like [Ouroboros](https://github.com/Ki-er/Clarence-Bot/blob/master/https://github.com/gmt2001/ouroboros), you can automatically update containers without the need for restarts.
```console
docker run -d \
--name=clarence \
-p 6002:6002 \
-e DISCORD_TOKEN='INSERT DISCORD TOKEN' \
-e MONGOOSE='INSERT MONGODB URL' \
-e OPEN_WEATHERS_API='INSERT OPENWEATHER API KEY' \
-e RAPID_API ='INSERT RAPID API KEY' \
-e PREFIX='-' \
--restart unless-stopped \
kieranr27/clarence:latest
```
## Development
### Docker
- See the [tutorial](https://github.com/Ki-er/Clarence-Bot/blob/master/https://www.writebots.com/discord-bot-token/), after going through it you are expected to:
- Create a new application & make it a bot, from [here](https://github.com/Ki-er/Clarence-Bot/blob/master/https://discord.com/developers/applications/).
- Don't forget to give it the `Privileged Gateway Intents`
- Invite your bot to your discord server.
- Get your token & paste in in `.env` (rename `.env.template` to `.env`)
- Default URL of MongoDB is `mongodb://root:secret@mongo-discord-cont:27017/`
- After that in root folder type in `powershell`: `docker-compose -f docker-compose-dev.yml up`
- You will see the bot online in your server.
- Verify that it works by trying the command `/ping`.
- Happy coding!
### Manual
- Clone the repo
- Remove the `.template` from `.env.template` - If contributing, please revert this change!
- Add required variables to `.env`
- Run `yarn install`
- Run `node .`
---
## Contributions
While this bot is maintained by [Kieran](https://github.com/Ki-er/Clarence-Bot/blob/master/https://github.com/KieranRobson), contributors are welcome! See [Contributing.md](https://github.com/Ki-er/Clarence-Bot/blob/master//.github/CONTRIBUTING.md).
## Invite
Invite Clarence to your discord server [here](https://github.com/Ki-er/Clarence-Bot/blob/master/https://discord.com/api/oauth2/authorize?client_id=875491402497294447&permissions=8&scope=bot%20applications.commands) with administrator and slash command permissions.
## License
Clarence-Bot is licensed under the MIT License. The full license text is included in the [LICENSE](https://github.com/Ki-er/Clarence-Bot/blob/master/LICENSE) file in this repository. TLDR legal have a [great summary](https://github.com/Ki-er/Clarence-Bot/blob/master/https://www.tldrlegal.com/l/mit) of the license if you're interested.
近期下载者:
相关文件:
收藏者: