feat: add access control

This commit is contained in:
41666 2021-07-18 01:57:03 -04:00
parent 9c07ff0e54
commit 3f45153b66
47 changed files with 1084 additions and 164 deletions

View file

@ -42,6 +42,11 @@ export const errorMessages: { [code: string]: ErrorMessage } = {
japanese: `...but it didn't believe me. :( ごめんなさい`,
friendlyCode: 'Yo.',
},
accessControlViolation: {
english: `You're not allowed to pick roles on that server.`,
japanese: `このサーバーでは許可されていない権限です`,
friendlyCode: 'Hold up!',
},
};
export const getMessageFromCode = (