Add HAS_ADMIN_ACCESS scope

This commit is contained in:
Gabe Kangas 2021-01-18 17:00:28 -08:00
parent e0f6f73f05
commit d4d08a8307

View file

@ -15,6 +15,7 @@ import {
const availableScopes = {
'CAN_SEND_SYSTEM_MESSAGES': { name: 'System messages', description: 'You can send official messages on behalf of the system', color: 'purple' },
'CAN_SEND_MESSAGES': { name: 'User chat messages', description: 'You can send messages on behalf of a username', color: 'green' },
'HAS_ADMIN_ACCESS': { name: 'Has admin access', description: 'Can perform administrative actions such as moderation, get server statuses, etc', color: 'red' },
};
function convertScopeStringToTag(scopeString) {