This commit is contained in:
Ninjdai 2023-02-25 10:13:49 +01:00
commit 5a7d828699
10 changed files with 45 additions and 37 deletions

View File

@ -10,7 +10,7 @@ Then add your fork as a local project:
git clone https://github.com/Art-Portal/April.git git clone https://github.com/Art-Portal/April.git
# Using SSH # Using SSH
git clone git@github.com:stevemao/github-issue-templates.git git clone git@github.com:Art-Portal/April.git
``` ```
> [Which remote URL should be used ?](https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories) > [Which remote URL should be used ?](https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories)
@ -18,7 +18,7 @@ git clone git@github.com:stevemao/github-issue-templates.git
Then, go to your local folder Then, go to your local folder
```sh ```sh
cd github-issue-template cd April
``` ```
Add git remote controls : Add git remote controls :
@ -69,4 +69,4 @@ git pull
git switch --create patch/1234-name-issue git switch --create patch/1234-name-issue
``` ```
Commit your changes, then push the branch to your fork with `git push -u fork` and open a pull request on [the April repository](https://github.com/Art-Portal/April) following the template provided. Commit your changes, then push the branch to your fork with `git push -u fork` and open a pull request on [the April repository](https://github.com/Art-Portal/April) following the template provided.

5
.github/SECURITY.md vendored
View File

@ -4,8 +4,9 @@
| Version | Supported | | Version | Supported |
| ------- | ------------------ | | ------- | ------------------ |
| 4.5.0 (current) | :white_check_mark: | | 4.5.0 (past) | :white_check_mark: |
| 4.5.1-beta (upcoming) | :white_check_mark: | | 4.5.1 (current) | :white_check_mark: |
| 4.5.2-beta (upcoming) | :white_check_mark: |
## Reporting a Vulnerability ## Reporting a Vulnerability

17
.github/stale.yml vendored Normal file
View File

@ -0,0 +1,17 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false

View File

@ -23,4 +23,7 @@ npm install
</a> </a>
<a href="https://github.com/apps/dependabot"> <a href="https://github.com/apps/dependabot">
<img src="https://badgen.net/github/dependabot/Art-Portal/April"/> <img src="https://badgen.net/github/dependabot/Art-Portal/April"/>
</a> </a>
<a href="https://www.codefactor.io/repository/github/art-portal/april">
<img src="https://www.codefactor.io/repository/github/art-portal/april/badge" alt="CodeFactor" />
</a>

View File

@ -43,7 +43,6 @@ module.exports = {
value: `` value: ``
+`<:invisibleSpacer:1038116840360120360><:iconID:1038063974807261195> **ID:** ${user.id}\n` +`<:invisibleSpacer:1038116840360120360><:iconID:1038063974807261195> **ID:** ${user.id}\n`
+`<:invisibleSpacer:1038116840360120360><:iconProfile:1038064029064773724> **Nom complet:** ${user.tag}\n` +`<:invisibleSpacer:1038116840360120360><:iconProfile:1038064029064773724> **Nom complet:** ${user.tag}\n`
+`<:invisibleSpacer:1038116840360120360><:iconProfile:1038064029064773724> **Bot:** ${user.bot ? "Oui" : "Non"}\n`
+`<:invisibleSpacer:1038116840360120360><:iconTimer:1038063915151654932> **Créé:** <t:${Math.floor(user.createdTimestamp / 1000)}:d>` +`<:invisibleSpacer:1038116840360120360><:iconTimer:1038063915151654932> **Créé:** <t:${Math.floor(user.createdTimestamp / 1000)}:d>`
, ,
inline: false inline: false
@ -146,4 +145,4 @@ module.exports = {
break; break;
} }
} }
}; };

View File

@ -25,7 +25,6 @@ module.exports = {
value: `` value: ``
+ `<:invisibleSpacer:1038116840360120360><:iconID:1038063974807261195> **ID:** ${user.id}\n` + `<:invisibleSpacer:1038116840360120360><:iconID:1038063974807261195> **ID:** ${user.id}\n`
+ `<:invisibleSpacer:1038116840360120360><:iconProfile:1038064029064773724> **Nom complet:** ${user.tag}\n` + `<:invisibleSpacer:1038116840360120360><:iconProfile:1038064029064773724> **Nom complet:** ${user.tag}\n`
+ `<:invisibleSpacer:1038116840360120360><:iconProfile:1038064029064773724> **Bot:** ${user.bot ? "Oui" : "Non"}\n`
+ `<:invisibleSpacer:1038116840360120360><:iconTimer:1038063915151654932> **Créé:** <t:${Math.floor(user.createdTimestamp / 1000)}:d>` + `<:invisibleSpacer:1038116840360120360><:iconTimer:1038063915151654932> **Créé:** <t:${Math.floor(user.createdTimestamp / 1000)}:d>`
, ,
inline: false inline: false
@ -58,4 +57,4 @@ module.exports = {
ephemeral: false ephemeral: false
}); });
} }
} }

View File

@ -22,5 +22,5 @@ module.exports = {
const welcomemessage = const welcomemessage =
`☆ Bienvenue <@[memberid]> ☆ `☆ Bienvenue <@[memberid]> ☆
Je t'invite à aller lire le <#${rulesChannelId}> ainsi que de prendre tes rôles dans <#${rolesChannelId}> Je t'invite à aller lire le <#${rulesChannelId}> ainsi que de prendre tes rôles dans <id:customize>
Nous espérons que tu passera un bon moment sur Art' Portal ! ^^`; Nous espérons que tu passera un bon moment sur Art' Portal ! ^^`;

View File

@ -1,11 +0,0 @@
const { guildId } = require('../config.json');
module.exports = {
name: 'messageCreate',
async execute(message, client) {
if (message.guild.id != guildId) return;
if (message.author.id == "718456289704804392" && message.content.toLowerCase().replace(/\? /).endsWith("quoi")){
message.reply({ content: "feur"})
}
}
}

26
package-lock.json generated
View File

@ -11,7 +11,7 @@
"dependencies": { "dependencies": {
"@discordjs/rest": "^1.5.0", "@discordjs/rest": "^1.5.0",
"discord.js": "^14.7.1", "discord.js": "^14.7.1",
"sequelize": "^6.28.0", "sequelize": "^6.28.2",
"sqlite3": "^5.1.4" "sqlite3": "^5.1.4"
} }
}, },
@ -1302,9 +1302,9 @@
"optional": true "optional": true
}, },
"node_modules/sequelize": { "node_modules/sequelize": {
"version": "6.29.0", "version": "6.28.2",
"resolved": "https://registry.npmjs.org/sequelize/-/sequelize-6.29.0.tgz", "resolved": "https://registry.npmjs.org/sequelize/-/sequelize-6.28.2.tgz",
"integrity": "sha512-m8Wi90rs3NZP9coXE52c7PL4Q078nwYZXqt1IxPvgki7nOFn0p/F0eKsYDBXCPw9G8/BCEa6zZNk0DQUAT4ypA==", "integrity": "sha512-MpK2h7xXHhBcwyTDf1sM1mrDdKFTGYbmrAC+4bJAf6f9Tp2IuiNwbNPj6Q5rMGVsKnO0CiJm8PEKtyNLOY8rNg==",
"funding": [ "funding": [
{ {
"type": "opencollective", "type": "opencollective",
@ -1619,9 +1619,9 @@
"integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==" "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA=="
}, },
"node_modules/undici": { "node_modules/undici": {
"version": "5.20.0", "version": "5.19.1",
"resolved": "https://registry.npmjs.org/undici/-/undici-5.20.0.tgz", "resolved": "https://registry.npmjs.org/undici/-/undici-5.19.1.tgz",
"integrity": "sha512-J3j60dYzuo6Eevbawwp1sdg16k5Tf768bxYK4TUJRH7cBM4kFCbf3mOnM/0E3vQYXvpxITbbWmBafaDbxLDz3g==", "integrity": "sha512-YiZ61LPIgY73E7syxCDxxa3LV2yl3sN8spnIuTct60boiiRaE1J8mNWHO8Im2Zi/sFrPusjLlmRPrsyraSqX6A==",
"dependencies": { "dependencies": {
"busboy": "^1.6.0" "busboy": "^1.6.0"
}, },
@ -2721,9 +2721,9 @@
"optional": true "optional": true
}, },
"sequelize": { "sequelize": {
"version": "6.29.0", "version": "6.28.2",
"resolved": "https://registry.npmjs.org/sequelize/-/sequelize-6.29.0.tgz", "resolved": "https://registry.npmjs.org/sequelize/-/sequelize-6.28.2.tgz",
"integrity": "sha512-m8Wi90rs3NZP9coXE52c7PL4Q078nwYZXqt1IxPvgki7nOFn0p/F0eKsYDBXCPw9G8/BCEa6zZNk0DQUAT4ypA==", "integrity": "sha512-MpK2h7xXHhBcwyTDf1sM1mrDdKFTGYbmrAC+4bJAf6f9Tp2IuiNwbNPj6Q5rMGVsKnO0CiJm8PEKtyNLOY8rNg==",
"requires": { "requires": {
"@types/debug": "^4.1.7", "@types/debug": "^4.1.7",
"@types/validator": "^13.7.1", "@types/validator": "^13.7.1",
@ -2928,9 +2928,9 @@
"integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==" "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA=="
}, },
"undici": { "undici": {
"version": "5.20.0", "version": "5.19.1",
"resolved": "https://registry.npmjs.org/undici/-/undici-5.20.0.tgz", "resolved": "https://registry.npmjs.org/undici/-/undici-5.19.1.tgz",
"integrity": "sha512-J3j60dYzuo6Eevbawwp1sdg16k5Tf768bxYK4TUJRH7cBM4kFCbf3mOnM/0E3vQYXvpxITbbWmBafaDbxLDz3g==", "integrity": "sha512-YiZ61LPIgY73E7syxCDxxa3LV2yl3sN8spnIuTct60boiiRaE1J8mNWHO8Im2Zi/sFrPusjLlmRPrsyraSqX6A==",
"requires": { "requires": {
"busboy": "^1.6.0" "busboy": "^1.6.0"
} }

View File

@ -27,7 +27,7 @@
"dependencies": { "dependencies": {
"@discordjs/rest": "^1.5.0", "@discordjs/rest": "^1.5.0",
"discord.js": "^14.7.1", "discord.js": "^14.7.1",
"sequelize": "^6.28.0", "sequelize": "^6.28.2",
"sqlite3": "^5.1.4" "sqlite3": "^5.1.4"
} }
} }