hullcss-discord-bot/README.md

42 lines
1.2 KiB
Markdown
Raw Normal View History

2022-05-11 12:44:44 +01:00
# HullCSS Discord Bot
> This bot is a multipurpose discord bot for The Hull Computer Science Society Discord server.
This bot features multiple command types from:
* Admin
* Embeds
* Fun
* General
2022-06-12 10:57:45 +01:00
---
## Installation
2022-06-12 11:09:58 +01:00
**This is a private bot used for a specific purpose within a specific discord server however if you do want to run the bot for testing purposes or deploy it to a new location. Follow the instructions below.**
2022-06-12 10:57:45 +01:00
2022-06-12 11:09:58 +01:00
### 🐋 Docker
2022-06-12 10:54:11 +01:00
Due to the [Publish.yml](.github/workflows/publish.yml) workflow, the newest build will automatically be pushed to dockerhub.
2022-06-12 11:09:58 +01:00
2022-06-12 10:54:11 +01:00
```docker
docker run -d \
--name=hullcss \
-p 6001:6001 \
-e DISCORD_TOKEN='INSERT DISCORD TOKEN' \
-e PREFIX='!' \
--restart unless-stopped \
kieranr27/hullcss:latest
```
2022-06-12 10:57:45 +01:00
Using a tool like [Ouroboros](https://github.com/pyouroboros/ouroboros), you can automatically update containers without the need for restarts.
2022-06-12 11:09:58 +01:00
### 👷 Manual
- Clone the repo
- Create a `.env` file with the following lines:
```
DISCORD_TOKEN = <Discord Token>
PREFIX = !
```
- Run `npm i`
2022-06-12 11:21:25 +01:00
- Run `node .`
2022-06-12 11:09:58 +01:00
2022-06-12 10:57:45 +01:00
---
## Contributions
2022-05-11 12:44:44 +01:00
While this bot is maintained by [Kieran](https://github.com/KieranRobson), contributors are welcome!
2022-06-12 10:57:45 +01:00
- Contribution guidelines are coming soon.