addd missing auditLogWebhook values in various places

This commit is contained in:
41666 2021-07-13 22:24:35 -04:00
parent ad8dd18d02
commit 7d3fa25f75
3 changed files with 3 additions and 0 deletions

View file

@ -11,6 +11,7 @@ export const CreateRoleypolyData = onlyRootUsers(
message: message:
'Hey, this is kind of a demo setup so features/use cases can be shown off.\n\nThanks for using Roleypoly <3', 'Hey, this is kind of a demo setup so features/use cases can be shown off.\n\nThanks for using Roleypoly <3',
features: Features.Preview, features: Features.Preview,
auditLogWebhook: null,
categories: [ categories: [
{ {
id: KSUID.randomSync().string, id: KSUID.randomSync().string,

View file

@ -44,6 +44,7 @@ export const transformLegacyGuild = (guild: LegacyGuildData): GuildData => {
id: guild.id, id: guild.id,
message: guild.message, message: guild.message,
features: Features.LegacyGuild, features: Features.LegacyGuild,
auditLogWebhook: null,
categories: sortBy(Object.values(guild.categories), 'position').map( categories: sortBy(Object.values(guild.categories), 'position').map(
(category, idx) => ({ (category, idx) => ({
...category, ...category,

View file

@ -174,6 +174,7 @@ export const guildData: GuildData = {
message: 'henlo worl!!', message: 'henlo worl!!',
categories: [mockCategory, mockCategorySingle], categories: [mockCategory, mockCategorySingle],
features: Features.None, features: Features.None,
auditLogWebhook: null,
}; };
export const user: DiscordUser = { export const user: DiscordUser = {