fixes to apply cmd
parent
fc7d44096e
commit
3f7c5326cf
|
@ -1521,7 +1521,8 @@
|
|||
},
|
||||
"node_modules/cr-db": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "git+https://gitlab.libraryofcode.org/engineering/community-relations/database.git#afe03b8012d751de08f68a4bd62e040435b71230",
|
||||
"resolved": "git+https://gitlab.libraryofcode.org/engineering/community-relations/database.git#3113144340764907c0beb602710e5a74d3d7db9e",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typegoose/typegoose": "^9.4.0",
|
||||
|
@ -7836,7 +7837,7 @@
|
|||
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
|
||||
},
|
||||
"cr-db": {
|
||||
"version": "git+https://gitlab.libraryofcode.org/engineering/community-relations/database.git#afe03b8012d751de08f68a4bd62e040435b71230",
|
||||
"version": "git+https://gitlab.libraryofcode.org/engineering/community-relations/database.git#3113144340764907c0beb602710e5a74d3d7db9e",
|
||||
"from": "cr-db@git+https://gitlab.libraryofcode.org/engineering/community-relations/database.git",
|
||||
"requires": {
|
||||
"@typegoose/typegoose": "^9.4.0",
|
||||
|
|
|
@ -81,6 +81,7 @@ export default class Apply extends Command {
|
|||
url: 'https://eds.libraryofcode.org/cs/cwgss',
|
||||
validation: async (member: Member) => {
|
||||
if (!member.roles.includes('546457886440685578')) return false;
|
||||
return true;
|
||||
},
|
||||
func: async (client: Client, ...data: any[]) => {
|
||||
const token = nanoid();
|
||||
|
|
Loading…
Reference in New Issue