-
Notifications
You must be signed in to change notification settings - Fork 0
/
modactions.py
53 lines (47 loc) · 1.38 KB
/
modactions.py
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
from enum import Enum
class ModAction(Enum):
#Chatroom actions
slow = "slow"
slowoff = "slowoff"
r9kbeta = "r9kbeta"
r9kbetaoff = "r9kbetaoff"
clear = "clear"
emoteonly = "emoteonly"
emoteonlyoff = "emoteonlyoff"
subscribers = "subscribers"
subscribersoff = "subscribersoff"
followers = "followers"
followersoff = "followersoff"
host = "host"
unhost = "unhost"
raid = "raid"
unraid = "unraid"
#User Moderation Actions
timeout = "timeout"
untimeout = "untimeout"
ban = "ban"
unban = "unban"
delete = "delete"
delete_notification = "delete_notification"
mod = "mod"
unmod = "unmod"
vip = "vip"
vip_added = "vip_added"
unvip = "unvip"
warn = "warn"
acknowledge_warning = "acknowledge_warning"
#Channel Terms
add_permitted_term = "add_permitted_term"
add_blocked_term = "add_blocked_term"
delete_permitted_term = "delete_permitted_term"
delete_blocked_term = "delete_blocked_term"
#Automod
automod_caught_message = "automod_caught_message"
#Unused automod since they're faked by me
automod_allowed_message = "automod_allowed_message"
automod_denied_message = "automod_denied_message"
#Unban Requests
approve_unban_request = "approve_unban_request"
deny_unban_request = "deny_unban_request"
def __int__(self):
return self.value