Merge branch 'main' of https://github.com/hullcss/hullcss-discord-bot
commit
678ff02b4d
|
@ -22,13 +22,13 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b
|
||||
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b
|
||||
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
|
@ -36,14 +36,14 @@ jobs:
|
|||
|
||||
- name: Extract metadata (tags, labels) for Docker
|
||||
id: meta
|
||||
uses: docker/metadata-action@69f6fc9d46f2f8bf0d5491e4aabe0bb8c6a4678a
|
||||
uses: docker/metadata-action@12cce9efe0d49980455aaaca9b071c0befcdd702
|
||||
with:
|
||||
images: |
|
||||
${{ secrets.DOCKERHUB_USERNAME }}/hullcss
|
||||
ghcr.io/${{ github.repository }}
|
||||
|
||||
- name: Build and push Docker images
|
||||
uses: docker/build-push-action@c84f38281176d4c9cdb1626ffafcd6b3911b5d94
|
||||
uses: docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
|
|
18
README.md
18
README.md
|
@ -5,7 +5,7 @@
|
|||
|
||||
## HullCSS Discord Bot
|
||||
|
||||
This bot is a multipurpose discord bot for The Hull Computer Science Society Discord server.
|
||||
This bot is a multipurpose discord bot for The Hull Computer Science Society Discord server.
|
||||
|
||||
<img src="https://img.shields.io/github/workflow/status/hullcss/hullcss-discord-bot/Publish%20Docker%20image?style=for-the-badge">
|
||||
<img src="https://img.shields.io/badge/Discord.JS-13.10.2-blue?style=for-the-badge&logo=DISCORD" />
|
||||
|
@ -29,10 +29,10 @@ Alongside commands, this bot also features:
|
|||
* Rule agreement button embed with `#code-of-conduct`
|
||||
|
||||
---
|
||||
## Installation
|
||||
**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.**
|
||||
## Installation
|
||||
**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.**
|
||||
|
||||
### 🐋 Docker
|
||||
### 🐋 Docker
|
||||
Due to the [Publish.yml](.github/workflows/publish.yml) workflow, the newest build will automatically be pushed to dockerhub.
|
||||
|
||||
```docker
|
||||
|
@ -48,7 +48,7 @@ kieranr27/hullcss:main
|
|||
Using a tool like [Ouroboros](https://github.com/pyouroboros/ouroboros), you can automatically update containers without the need for restarts.
|
||||
|
||||
### 👷 Manual
|
||||
- Clone the repo
|
||||
- Clone the repo
|
||||
- Remove the `.template` from `.env.template`
|
||||
- Replace `INSERT DISCORD TOKEN` with your Discord token.
|
||||
- Run `npm i` to install packages
|
||||
|
@ -56,5 +56,9 @@ Using a tool like [Ouroboros](https://github.com/pyouroboros/ouroboros), you can
|
|||
|
||||
---
|
||||
## Contributions
|
||||
While this bot is maintained by [Kieran](https://github.com/KieranRobson), contributors are welcome!
|
||||
- Contribution guidelines are coming soon.
|
||||
While this bot is maintained by [Kieran](https://github.com/KieranRobson), contributors are welcome!
|
||||
- Contribution guidelines are coming soon.
|
||||
|
||||
## License
|
||||
|
||||
hullcss-discord-bot is licensed under the MIT License. The full license text is included in the [LICENSE](LICENSE) file in this repository. Tldr legal have a [great summary](https://www.tldrlegal.com/l/mit) of the license if you're interested.
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:18.10.0
|
||||
FROM node:19.0.0
|
||||
RUN mkdir -p /usr/hullcss/src
|
||||
WORKDIR /usr/hullcss/src
|
||||
COPY package.json /usr/hullcss/src
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@discordjs/builders": "^1.3.0",
|
||||
"discord-api-types": "^0.37.12",
|
||||
"discord.js": "^13.11.0",
|
||||
"discord-api-types": "^0.37.14",
|
||||
"discord.js": "^13.12.0",
|
||||
"dotenv": "^16.0.3",
|
||||
"glob": "^7.2.3",
|
||||
"json-to-frontmatter-markdown": "^1.0.0"
|
||||
|
@ -1262,14 +1262,14 @@
|
|||
}
|
||||
},
|
||||
"node_modules/discord-api-types": {
|
||||
"version": "0.37.12",
|
||||
"resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.12.tgz",
|
||||
"integrity": "sha512-SMBP4V6/A9mE7shBQAiTxNWnQlYTdiKMGvc7G23neayxaTJeFYh5FviJSWUa0BTdXcph1h/jT03Nbyv5XgZkzw=="
|
||||
"version": "0.37.14",
|
||||
"resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.14.tgz",
|
||||
"integrity": "sha512-byBH7SfDCMJwxdqeS8k5sihltH88/YPhuwx+vF2cftSxFLdxyHyU/ZxDL3bq+LB2c4ls/TymE76/ISlLfniUXg=="
|
||||
},
|
||||
"node_modules/discord.js": {
|
||||
"version": "13.11.0",
|
||||
"resolved": "https://registry.npmjs.org/discord.js/-/discord.js-13.11.0.tgz",
|
||||
"integrity": "sha512-/vA6oQtKilFlwVZSIFipPeWg5kU6gjUOffuaYWtDDJwIXKqiThNdymLkmQhnf8Ztlt+3vKsoqXENrgpQdaNCVQ==",
|
||||
"version": "13.12.0",
|
||||
"resolved": "https://registry.npmjs.org/discord.js/-/discord.js-13.12.0.tgz",
|
||||
"integrity": "sha512-K5qhREsYcTHkEqt7+7LcSoXTeQYZpI+SQRs9ei/FhbhUpirmjqFtN99P8W2mrKUyhhy7WXWm7rnna0AooKtIpw==",
|
||||
"dependencies": {
|
||||
"@discordjs/builders": "^0.16.0",
|
||||
"@discordjs/collection": "^0.7.0",
|
||||
|
@ -1279,7 +1279,7 @@
|
|||
"discord-api-types": "^0.33.5",
|
||||
"form-data": "^4.0.0",
|
||||
"node-fetch": "^2.6.7",
|
||||
"ws": "^8.8.1"
|
||||
"ws": "^8.9.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.6.0",
|
||||
|
@ -3432,9 +3432,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/ws": {
|
||||
"version": "8.8.1",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz",
|
||||
"integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==",
|
||||
"version": "8.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.9.0.tgz",
|
||||
"integrity": "sha512-Ja7nszREasGaYUYCI2k4lCKIRTt+y7XuqVoHR44YpI49TtryyqbqvDMn5eqfW7e6HzTukDRIsXqzVHScqRcafg==",
|
||||
"engines": {
|
||||
"node": ">=10.0.0"
|
||||
},
|
||||
|
@ -4500,14 +4500,14 @@
|
|||
}
|
||||
},
|
||||
"discord-api-types": {
|
||||
"version": "0.37.12",
|
||||
"resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.12.tgz",
|
||||
"integrity": "sha512-SMBP4V6/A9mE7shBQAiTxNWnQlYTdiKMGvc7G23neayxaTJeFYh5FviJSWUa0BTdXcph1h/jT03Nbyv5XgZkzw=="
|
||||
"version": "0.37.14",
|
||||
"resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.14.tgz",
|
||||
"integrity": "sha512-byBH7SfDCMJwxdqeS8k5sihltH88/YPhuwx+vF2cftSxFLdxyHyU/ZxDL3bq+LB2c4ls/TymE76/ISlLfniUXg=="
|
||||
},
|
||||
"discord.js": {
|
||||
"version": "13.11.0",
|
||||
"resolved": "https://registry.npmjs.org/discord.js/-/discord.js-13.11.0.tgz",
|
||||
"integrity": "sha512-/vA6oQtKilFlwVZSIFipPeWg5kU6gjUOffuaYWtDDJwIXKqiThNdymLkmQhnf8Ztlt+3vKsoqXENrgpQdaNCVQ==",
|
||||
"version": "13.12.0",
|
||||
"resolved": "https://registry.npmjs.org/discord.js/-/discord.js-13.12.0.tgz",
|
||||
"integrity": "sha512-K5qhREsYcTHkEqt7+7LcSoXTeQYZpI+SQRs9ei/FhbhUpirmjqFtN99P8W2mrKUyhhy7WXWm7rnna0AooKtIpw==",
|
||||
"requires": {
|
||||
"@discordjs/builders": "^0.16.0",
|
||||
"@discordjs/collection": "^0.7.0",
|
||||
|
@ -4517,7 +4517,7 @@
|
|||
"discord-api-types": "^0.33.5",
|
||||
"form-data": "^4.0.0",
|
||||
"node-fetch": "^2.6.7",
|
||||
"ws": "^8.8.1"
|
||||
"ws": "^8.9.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@discordjs/builders": {
|
||||
|
@ -6093,9 +6093,9 @@
|
|||
}
|
||||
},
|
||||
"ws": {
|
||||
"version": "8.8.1",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz",
|
||||
"integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==",
|
||||
"version": "8.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.9.0.tgz",
|
||||
"integrity": "sha512-Ja7nszREasGaYUYCI2k4lCKIRTt+y7XuqVoHR44YpI49TtryyqbqvDMn5eqfW7e6HzTukDRIsXqzVHScqRcafg==",
|
||||
"requires": {}
|
||||
},
|
||||
"xdg-basedir": {
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@discordjs/builders": "^1.3.0",
|
||||
"discord-api-types": "^0.37.12",
|
||||
"discord.js": "^13.11.0",
|
||||
"discord-api-types": "^0.37.14",
|
||||
"discord.js": "^13.12.0",
|
||||
"dotenv": "^16.0.3",
|
||||
"glob": "^7.2.3",
|
||||
"json-to-frontmatter-markdown": "^1.0.0"
|
||||
|
|
Loading…
Reference in New Issue