chore: RESTPatchAPIGuildJSONBody system_channel_flags is optional; release 0.11.2 (#55)

This commit is contained in:
didinele
2020-12-20 18:48:52 +02:00
committed by GitHub
parent 8c43eae001
commit c28ef6c3d9
3 changed files with 3 additions and 3 deletions

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "discord-api-types",
"version": "0.11.1",
"version": "0.11.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "discord-api-types",
"version": "0.11.1",
"version": "0.11.2",
"description": "Discord API typings that are kept up to date for use in bot library creation.",
"main": "default/index.js",
"scripts": {

View File

@@ -88,7 +88,7 @@ export interface RESTPatchAPIGuildJSONBody {
discovery_splash?: string | null;
banner?: string | null;
system_channel_id?: string | null;
system_channel_flags: GuildSystemChannelFlags;
system_channel_flags?: GuildSystemChannelFlags;
rules_channel_id?: string | null;
public_updates_channel_id?: string | null;
preferred_locale?: string | null;