feat(docs): add another patreon id

This commit is contained in:
Anthony 2022-07-26 00:30:18 +01:00
parent 06b4b35b43
commit 6c51b63aa2
2 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,7 @@ export class PatreonOnlyPrecondition extends AllFlowsPrecondition {
} }
private async checkPatreon(user: GuildMember) { private async checkPatreon(user: GuildMember) {
return user.roles.cache.has(IDs.roles.patron) return user.roles.cache.has(IDs.roles.patron) || user.roles.cache.has(IDs.roles.patreon)
? this.ok() ? this.ok()
: this.error({ message: 'Only Patreon members can run this command!' }); : this.error({ message: 'Only Patreon members can run this command!' });
} }

View File

@ -46,6 +46,7 @@ const IDs = {
verifier: '871802735031373856', verifier: '871802735031373856',
}, },
patron: '765370219207852055', patron: '765370219207852055',
patreon: '993848684640997406',
}, },
channels: { channels: {
staff: { staff: {