KieranRobson 2022-10-10 21:52:54 +01:00
commit 9ee0db42c0
4 changed files with 126 additions and 18 deletions

41
.github/CONDUCT.md vendored Normal file
View File

@ -0,0 +1,41 @@
# Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
HullCSS is a society under [HUSU](hulluniunion.com/), where possible we will abide by HUSU policy
## Our Guidelines
Examples of behavior that contributes to a positive environment for our
community include:
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community
Examples of unacceptable behavior include:
* Submitting malicious or poor quality pull requests.
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment (joking is ok)
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Contacting
Kieran Robson is available to talk to on Discord @ Kieran#Kieran#0891 and the exec team are able to contact at our [Discord server](https://discord.gg/skEu7mutK6)

52
.github/CONTRIBUTING.md vendored Normal file
View File

@ -0,0 +1,52 @@
# Contributing guidelines for the HullCSS Discord Bot
Thank you for contributing to the HullCSS Discord Bot repo, here are some guidelines to try follow when making changes. If you are unsure as to what to do after reading these please contact Kieran Robson on Discord @ Kieran#0891 in the [HullCSS Discord server](https://discord.gg/skEu7mutK6). Or contact the Webmaster found under the @Webmaster role
1. Each feature needs to have its own Pull Request (PR)
2. Any large changes must be discussed in an Issue first
3. If you have write permissions over the repo
- make sure you have GitHub 2FA
- make a new branch for your commits before merging into main, or still please use PRs (unless you are the primary maintainer)
- If possible also gpg sign your commits
4. Please see the [Security Policy](https://github.com/hullcss/CONTRIBUTING/blob/main/SECURITY.md) for detais of what to do if you find any issues that are security related
# How to contribute
## Forking
* Press the fork icon in the top right hand corner.
* Name your fork of the repo
* Press save
Congratulations, you now have created a fork of the repo!
## Making changes
Changes can be made in many different ways in many different ways
### Editing in the browser
* Head to the repo
* Press the pencil icon in the file
* Make changes
* Scroll to the bottom and add a meaningful title and description
* Press commit changes
### Editing in Visual Studio Code
* Press the green button which says `code`
* Copy the HTML URL
* Head to VS Code and open a new window
* Choose `Clone Github Repository`
* Choose where youd like to store the local repo on your machine
* Open the file and make changes
* Press the fork icon on the left side bar
* Enter a message
* Click the tick
* Press sync changes
### Opening a pull request
* Head to your newly changed repo
* Press contribute on the banner above the code
* Press `Open Pull Request`
* Enter any other details into the input boxes
* Press `Create Pull Request`
### What happens next?
Admins will look into your commit(s) and may suggest changes. If changes do need to be made, do not make a new pull request, instead just commit to your repo and the new changes will appear.
If no changes need to be made, then your commits will be merged!

49
package-lock.json generated
View File

@ -9,7 +9,7 @@
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"@discordjs/builders": "^1.2.0",
"@discordjs/builders": "^1.3.0",
"discord-api-types": "^0.37.12",
"discord.js": "^13.11.0",
"dotenv": "^16.0.3",
@ -464,12 +464,13 @@
"dev": true
},
"node_modules/@discordjs/builders": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.2.0.tgz",
"integrity": "sha512-ARy4BUTMU+S0ZI6605NDqfWO+qZqV2d/xfY32z3hVSsd9IaAKJBZ1ILTZLy87oIjW8+gUpQmk9Kt0ZP9bmmd8Q==",
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.3.0.tgz",
"integrity": "sha512-Pvca6Nw8Hp+n3N+Wp17xjygXmMvggbh5ywUsOYE2Et4xkwwVRwgzxDJiMUuYapPtnYt4w/8aKlf5khc8ipLvhg==",
"dependencies": {
"@sapphire/shapeshift": "^3.5.1",
"discord-api-types": "^0.37.3",
"@discordjs/util": "^0.1.0",
"@sapphire/shapeshift": "^3.7.0",
"discord-api-types": "^0.37.12",
"fast-deep-equal": "^3.1.3",
"ts-mixer": "^6.0.1",
"tslib": "^2.4.0"
@ -486,6 +487,14 @@
"node": ">=16.9.0"
}
},
"node_modules/@discordjs/util": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/@discordjs/util/-/util-0.1.0.tgz",
"integrity": "sha512-e7d+PaTLVQav6rOc2tojh2y6FE8S7REkqLldq1XF4soCx74XB/DIjbVbVLtBemf0nLW77ntz0v+o5DytKwFNLQ==",
"engines": {
"node": ">=16.9.0"
}
},
"node_modules/@eslint/eslintrc": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz",
@ -587,9 +596,9 @@
}
},
"node_modules/@sapphire/shapeshift": {
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.5.1.tgz",
"integrity": "sha512-7JFsW5IglyOIUQI1eE0g6h06D/Far6HqpcowRScgCiLSqTf3hhkPWCWotVTtVycnDCMYIwPeaw6IEPBomKC8pA==",
"version": "3.7.0",
"resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.7.0.tgz",
"integrity": "sha512-A6vI1zJoxhjWo4grsxpBRBgk96SqSdjLX5WlzKp9H+bJbkM07mvwcbtbVAmUZHbi/OG3HLfiZ1rlw4BhH6tsBQ==",
"dependencies": {
"fast-deep-equal": "^3.1.3",
"lodash.uniqwith": "^4.5.0"
@ -3885,12 +3894,13 @@
"dev": true
},
"@discordjs/builders": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.2.0.tgz",
"integrity": "sha512-ARy4BUTMU+S0ZI6605NDqfWO+qZqV2d/xfY32z3hVSsd9IaAKJBZ1ILTZLy87oIjW8+gUpQmk9Kt0ZP9bmmd8Q==",
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.3.0.tgz",
"integrity": "sha512-Pvca6Nw8Hp+n3N+Wp17xjygXmMvggbh5ywUsOYE2Et4xkwwVRwgzxDJiMUuYapPtnYt4w/8aKlf5khc8ipLvhg==",
"requires": {
"@sapphire/shapeshift": "^3.5.1",
"discord-api-types": "^0.37.3",
"@discordjs/util": "^0.1.0",
"@sapphire/shapeshift": "^3.7.0",
"discord-api-types": "^0.37.12",
"fast-deep-equal": "^3.1.3",
"ts-mixer": "^6.0.1",
"tslib": "^2.4.0"
@ -3901,6 +3911,11 @@
"resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.7.0.tgz",
"integrity": "sha512-R5i8Wb8kIcBAFEPLLf7LVBQKBDYUL+ekb23sOgpkpyGT+V4P7V83wTxcsqmX+PbqHt4cEHn053uMWfRqh/Z/nA=="
},
"@discordjs/util": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/@discordjs/util/-/util-0.1.0.tgz",
"integrity": "sha512-e7d+PaTLVQav6rOc2tojh2y6FE8S7REkqLldq1XF4soCx74XB/DIjbVbVLtBemf0nLW77ntz0v+o5DytKwFNLQ=="
},
"@eslint/eslintrc": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz",
@ -3973,9 +3988,9 @@
"integrity": "sha512-JkLdIsP8fPAdh9ZZjrbHWR/+mZj0wvKS5ICibcLrRI1j84UmLMshx5n9QmL8b95d4onJ2xxiyugTgSAX7AalmA=="
},
"@sapphire/shapeshift": {
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.5.1.tgz",
"integrity": "sha512-7JFsW5IglyOIUQI1eE0g6h06D/Far6HqpcowRScgCiLSqTf3hhkPWCWotVTtVycnDCMYIwPeaw6IEPBomKC8pA==",
"version": "3.7.0",
"resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.7.0.tgz",
"integrity": "sha512-A6vI1zJoxhjWo4grsxpBRBgk96SqSdjLX5WlzKp9H+bJbkM07mvwcbtbVAmUZHbi/OG3HLfiZ1rlw4BhH6tsBQ==",
"requires": {
"fast-deep-equal": "^3.1.3",
"lodash.uniqwith": "^4.5.0"

View File

@ -13,7 +13,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@discordjs/builders": "^1.2.0",
"@discordjs/builders": "^1.3.0",
"discord-api-types": "^0.37.12",
"discord.js": "^13.11.0",
"dotenv": "^16.0.3",