mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 09:39:09 +00:00
feat: add audit logging via webhook (#309)
* feat: add audit logging via webhook * addd missing auditLogWebhook values in various places
This commit is contained in:
parent
5671a408c1
commit
acc604f83f
16 changed files with 488 additions and 22 deletions
|
@ -20,6 +20,7 @@ export type GuildData = {
|
|||
message: string;
|
||||
categories: Category[];
|
||||
features: Features;
|
||||
auditLogWebhook: string | null;
|
||||
};
|
||||
|
||||
export type GuildDataUpdate = Omit<Omit<GuildData, 'features'>, 'id'>;
|
||||
|
@ -48,3 +49,11 @@ export type GuildSlug = {
|
|||
icon: string;
|
||||
permissionLevel: UserGuildPermissions;
|
||||
};
|
||||
|
||||
export enum WebhookValidationStatus {
|
||||
Ok,
|
||||
NoneSet,
|
||||
DoesNotExist,
|
||||
NotSameGuild,
|
||||
NotDiscordURL,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue