Skip to content

Commit d3759c6

Browse files
authored
Merge pull request #208 from jkrejcha/fix-modactions-1
Adds new moderator actions
2 parents a2212a8 + ee169eb commit d3759c6

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

RedditSharp/Moderator Actions/ModActionType.cs

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ namespace RedditSharp
55
public enum ModActionType
66
{
77
BanUser,
8-
UnBanUser,
8+
UnbanUser,
9+
SpamLink,
910
RemoveLink,
1011
ApproveLink,
12+
SpamComment,
1113
RemoveComment,
1214
ApproveComment,
1315
AddModerator,
1416
InviteModerator,
15-
UnInviteModerator,
17+
UninviteModerator,
1618
AcceptModeratorInvite,
1719
RemoveModerator,
1820
AddContributor,
@@ -23,34 +25,42 @@ public enum ModActionType
2325
MarkNSFW,
2426
WikiBanned,
2527
WikiContributor,
26-
WikiUnBanned,
28+
WikiUnbanned,
2729
WikiPageListed,
2830
RemoveWikiContributor,
2931
WikiRevise,
30-
WikiPermlevel,
32+
WikiPermLevel,
3133
IgnoreReports,
32-
UnIgnoreReports,
34+
UnignoreReports,
3335
SetPermissions,
34-
SetSuggestedsort,
36+
SetSuggestedSort,
3537
Sticky,
36-
UnSticky,
38+
Unsticky,
3739
SetContestMode,
38-
UnSetContestMode,
40+
UnsetContentMode,
3941
@Lock,
4042
Unlock,
4143
MuteUser,
42-
UnMuteUser,
43-
SpamComment,
44-
SpamLink,
44+
UnmuteUser,
4545
CreateRule,
4646
EditRule,
47+
ReorderRules,
4748
DeleteRule,
4849
Spoiler,
49-
UnSpoiler,
50+
Unspoiler,
5051
Modmail_Enrollment,
5152
Community_Styling,
5253
Community_Widgets,
5354
MarkOriginalContent,
55+
Collections,
56+
Events,
57+
Create_Award,
58+
Disable_Award,
59+
Delete_Award,
60+
Enable_Award,
61+
Mod_Award_Given,
62+
Add_Community_Topics,
63+
Remove_Community_Topics,
5464
}
5565
}
5666
#pragma warning restore 1591

0 commit comments

Comments
 (0)