feat: audit logs #24

Open
opened 2025-07-12 19:00:39 +00:00 by Twig · 0 comments
Owner

log every action in a guild to a database of sorts

every action type will be sorted into 100 unit wide sections, http status code pilled

1xx Messages

  • 100 MESSAGE_DELETE - message deletion of another user's message
  • 101 MESSAGE_EDIT - message editing

2xx Channels

  • 200 CHANNEL_CREATE - channel creation
  • 201 CHANNEL_DELETE - channel deletion
  • 202 CHANNEL_UPDATE_NAME - channel name update
  • 203 CHANNEL_UPDATE_DESCRIPTION - channel description update

3xx Guild

  • 300 ROLE_CREATE - role creation
  • 301 ROLE_DELETE - role deletion
  • 302 ROLE_UPDATE_NAME - role name update
  • 303 ROLE_UPDATE_PERMISSIONS - role permissions update
  • 304 INVITE_CREATE - create invite link
  • 305 INVITE_DELETE - delete invite link

4xx Members

  • 400 MEMBER_KICK - kick
  • 401 MEMBER_BAN - ban
  • 402 MEMBER_UNBAN - unban
  • 403 MEMBER_UPDATE_NICKNAME - nickname edit, for both self editing, and mod editing
  • 404 MEMBER_UPDATE_ROLES - updated roles
log every action in a guild to a database of sorts every action type will be sorted into 100 unit wide sections, http status code pilled 1xx Messages - [ ] 100 MESSAGE_DELETE - message deletion of another user's message - [ ] 101 MESSAGE_EDIT - message editing 2xx Channels - [x] 200 CHANNEL_CREATE - channel creation - [x] 201 CHANNEL_DELETE - channel deletion - [x] 202 CHANNEL_UPDATE_NAME - channel name update - [x] 203 CHANNEL_UPDATE_DESCRIPTION - channel description update 3xx Guild - [x] 300 ROLE_CREATE - role creation - [ ] 301 ROLE_DELETE - role deletion - [ ] 302 ROLE_UPDATE_NAME - role name update - [ ] 303 ROLE_UPDATE_PERMISSIONS - role permissions update - [x] 304 INVITE_CREATE - create invite link - [ ] 305 INVITE_DELETE - delete invite link 4xx Members - [ ] 400 MEMBER_KICK - kick - [x] 401 MEMBER_BAN - ban - [x] 402 MEMBER_UNBAN - unban - [ ] 403 MEMBER_UPDATE_NICKNAME - nickname edit, for both self editing, and mod editing - [ ] 404 MEMBER_UPDATE_ROLES - updated roles
baaboe self-assigned this 2025-08-04 20:42:18 +00:00
baaboe added reference wip/auditlog 2025-08-04 20:51:38 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: gorb/backend#24
No description provided.