-
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'AkaruiDevelopment:v6' into master
- Loading branch information
Showing
868 changed files
with
25,289 additions
and
9,749 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
name: Reporting Bug | ||
description: Report us the issue, and leave it to us! 🤗 | ||
title: "Bug: " | ||
labels: "bug" | ||
assignees: "Leref" | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! Fill in the blanks by following the steps. 🙌 | ||
- type: dropdown | ||
id: type | ||
attributes: | ||
label: Bug Type | ||
description: Please select a type of bug you want to report. | ||
options: | ||
- Function | ||
- Callback | ||
- Handler | ||
- Extensions | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: code | ||
attributes: | ||
label: Bugged Function | ||
render: js | ||
description: Please type usage of your code | ||
placeholder: | | ||
module.exports = { | ||
name: "ping", | ||
type: 'interaction', | ||
prototype: 'slash', | ||
code: ` | ||
$sendMessage[Hello?] | ||
` | ||
} | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: aoijs-version | ||
attributes: | ||
label: Version of aoi.js | ||
description: What version of aoi.js are you using? | ||
options: | ||
- v6.6.1 | ||
- v6.6.0 | ||
- v6.5.6 | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: node-version | ||
attributes: | ||
label: Version of Node.js | ||
description: Also, what version of Node.js are you using? | ||
options: | ||
- v16.11.0 (Lowest) | ||
- v20.10.0 (LTS) | ||
- v21.4.0 (Current) | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: excepted | ||
attributes: | ||
label: Excepted Output | ||
description: Please describe your expectations the code you have tried. | ||
|
||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Relevant log output | ||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. | ||
render: shell | ||
|
||
- type: checkboxes | ||
id: terms | ||
attributes: | ||
label: Code of Conduct | ||
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/AkaruiDevelopment/aoi.js/blob/v5/.github/CODE_OF_CONDUCT.md) | ||
options: | ||
- label: I agree to follow this project's Code of Conduct | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Discord server | ||
- name: Discord Server | ||
url: https://discord.gg/HMUfMXDQsV | ||
about: Please visit our Discord server for question and support. | ||
about: Contact us in our Discord Server |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Feature Request | ||
description: Request a feature or suggest us what is in your mind! | ||
labels: "enhancement" | ||
assignees: | ||
- enhancement | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Please explain what is in your mind, we would like to hear it from you! 🤠 | ||
- type: dropdown | ||
id: type | ||
attributes: | ||
label: Featuring Type | ||
description: Please select a type of feature you want to request. | ||
options: | ||
- Function | ||
- Callback | ||
- Handler | ||
- Extensions | ||
- Others | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: explaining | ||
attributes: | ||
label: So, what is it about? | ||
description: Please describe what you're requesting for. So, we Akarui Team can understand your request better and work on it faster! | ||
placeholder: It's about... | ||
validations: | ||
required: true | ||
|
||
- type: checkboxes | ||
id: terms | ||
attributes: | ||
label: Code of Conduct | ||
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/AkaruiDevelopment/aoi.js/blob/v5/.github/CODE_OF_CONDUCT.md) | ||
options: | ||
- label: I agree to follow this project's Code of Conduct | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
## Type | ||
- [ ] Discord | ||
- [ ] Client | ||
- [ ] Guild | ||
- [ ] Channel | ||
- [ ] Message | ||
- [ ] User | ||
- [ ] Member | ||
- [ ] Role | ||
- [ ] Emoji | ||
- [ ] Invite | ||
- [ ] Webhook | ||
- [ ] AutoMod | ||
- [ ] Misc | ||
|
||
- [ ] JavaScript | ||
- [ ] Array | ||
- [ ] Conditions | ||
- [ ] File System | ||
- [ ] Loops | ||
- [ ] Maths | ||
- [ ] Misc | ||
- [ ] Object | ||
- [ ] Process | ||
- [ ] String | ||
|
||
## Description | ||
|
||
> Give a brief description of the pull request. | ||
## Usage | ||
|
||
> Give a brief example of how would be the usage of this pull request. | ||
> **( `--`, if usage is not changed)** | ||
## Semver Changes | ||
|
||
- [ ] Patch (bug fix, no new features) | ||
- [ ] Minor (new features, no breaking changes) | ||
- [ ] Major (breaking changes) | ||
|
||
## Issues | ||
|
||
> List any issues that this pull request closes. | ||
## Checklist | ||
|
||
- [ ] I have read the [Contributing Guidelines](../CONTRIBUTING.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
## Module | ||
|
||
- [ ] [Core](../../src/core/) | ||
- [ ] [Events](../../src/events/) | ||
- [ ] [Manager](../../src/manager/) | ||
- [ ] [Structures](../../src/structures/) | ||
- [ ] [Typings](../../src/typings/) | ||
- [ ] [Utils](../../src/util/) | ||
|
||
## Description | ||
|
||
> Give a brief description of the pull request. | ||
## Semver Changes | ||
|
||
- [ ] Patch (bug fix, no new features) | ||
- [ ] Minor (new features, no breaking changes) | ||
- [ ] Major (breaking changes) | ||
|
||
## Issues | ||
|
||
> List any issues that this pull request closes. | ||
## Checklist | ||
|
||
- [ ] I have read the [Contributing Guidelines](../CONTRIBUTING.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## Description | ||
|
||
> Give a brief description of the pull request. | ||
## Semver Changes | ||
|
||
- [ ] Patch (bug fix, no new features) | ||
- [ ] Minor (new features, no breaking changes) | ||
- [ ] Major (breaking changes) | ||
|
||
## Issues | ||
|
||
> List any issues that this pull request closes. | ||
## Checklist | ||
|
||
- [ ] I have read the [Contributing Guidelines](../CONTRIBUTING.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Client: | ||
- any: ['src/structures/Client.ts', 'src/functions/discord/client/*'] | ||
|
||
Classes: | ||
- src/structures/* | ||
|
||
Manager: | ||
- src/manager/* | ||
|
||
Core: | ||
- src/core/**/* | ||
|
||
Functions:Discord: | ||
- src/functions/discord/**/* | ||
|
||
Functions:JS: | ||
- src/functions/js/**/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Add Feature label | ||
|
||
on: | ||
- pull_request_target | ||
|
||
jobs: | ||
add-feature-label: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Find new files in src directory | ||
run: | | ||
NEW_FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }}) | ||
CHANGED_FILES=() | ||
for file in $NEW_FILES; do | ||
if [[ $file == "src/"* ]]; then | ||
CHANGED_FILES+=("$file") | ||
fi | ||
done | ||
echo "::set-output name=changed_files::${CHANGED_FILES[*]}" | ||
id: find-files | ||
- name: Add Feature label | ||
if: ${{ steps.find-files.outputs.changed_files != '' }} | ||
uses: actions/github-script@v4 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
const issue = await github.issues.get(context.issue); | ||
const labels = issue.data.labels.map(label => label.name); | ||
if (!labels.includes('Feature')) { | ||
await github.issues.addLabels({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: context.issue.number, | ||
labels: ['Feature'] | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# This workflow will triage pull requests and apply a label based on the | ||
# paths that are modified in the pull request. | ||
# | ||
# To use this workflow, you will need to set up a .github/labeler.yml | ||
# file with configuration. For more information, see: | ||
# https://github.com/actions/labeler | ||
|
||
name: Labeler | ||
on: | ||
- pull_request_target | ||
|
||
jobs: | ||
label: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/labeler@v4 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
commands | ||
config.json | ||
#Ignore modules | ||
node_modules | ||
database | ||
/test.js | ||
|
||
#Ignore database files | ||
/database | ||
|
||
#Ignore Test Environment | ||
/commands | ||
config.json | ||
src/tests/ | ||
plugins | ||
/index.js | ||
.idea | ||
index.js | ||
.vscode | ||
.DS_Store | ||
/dist | ||
ignore |
Oops, something went wrong.