Understanding “Crimes” in RexZ Discord Bot

In RexZ Discord bot, the term “crimes” takes on a unique meaning—it’s tied to Audit Log Events. This means that actions performed by users within the server, which generate audit log events, are categorized as “crimes” within the bot’s framework.

For instance, actions like kicking or banning members, creating or deleting channels, and role updates can all be interpreted as “crimes” within RexZ. Moreover, if a user who isn’t whitelisted triggers any of these events, it could be logged as a “crime” by the bot.

This approach, drawing from Discord.js documentation, provides a structured means of monitoring and managing server activity. By defining “crimes” based on audit log events, RexZ enhances moderation capabilities and fosters accountability within the server. It allows administrators to keep track of significant user actions, aiding in maintaining a healthy and respectful community environment.


Crimes List

Audit Log EventsCrime Values
BotAdd28
ChannelCreate10
ChannelDelete12
ChannelUpdate11
EmojiCreate60
EmojiDelete62
EmojiUpdate61
GuildUpdate1
MemberBanAdd22
MemberBanRemove23
MemberDisconnect27
MemberKick20
MemberMove26
MemberPrune21
MemberRoleUpdate25
MemberUpdate24
MessageBulkDelete73
MessageDelete72
RoleCreate30
RoleDelete32
RoleUpdate31
StickerCreate90
StickerDelete92
StickerUpdate91
ThreadCreate110
ThreadDelete112
ThreadUpdate111
WebhookCreate50
WebhookDelete52
WebhookUpdate51

Didn’t found crime value? Don’t worry Read more about “Audit Log Events” and their “Crime” values