blob: 220e14d7f483d29b15447af9962350a9f45906c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
export const levels = {
admin : 9999999,
moderator : 999999,
channelOwner : 99999,
channelModerator : 9999,
user : 100,
};
export function isAdmin (level) {
return level >= levels.admin;
}
export function isModerator (level) {
return level >= levels.moderator;
}
export function isChannelOwner (level) {
return level >= levels.channelOwner;
}
export function isChannelModerator (level) {
return level >= levels.channelModerator;
}
export async function run (core, server, socket, data) {}
export const info = {
name: 'uac_info',
description: 'This module contains information about UAC levels, and minor utility functions.',
};
|