revolt.js
Advanced tools
Comparing version 6.0.8 to 6.0.9
@@ -45,2 +45,4 @@ import type { DataEditMessage, DataMessageSend, Embed, Masquerade, Message as MessageI, SystemMessage } from "revolt-api"; | ||
name?: undefined; | ||
from?: undefined; | ||
to?: undefined; | ||
} | { | ||
@@ -51,2 +53,4 @@ type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; | ||
name?: undefined; | ||
from?: undefined; | ||
to?: undefined; | ||
} | { | ||
@@ -57,2 +61,4 @@ type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; | ||
name?: undefined; | ||
from?: undefined; | ||
to?: undefined; | ||
} | { | ||
@@ -63,2 +69,4 @@ type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; | ||
user?: undefined; | ||
from?: undefined; | ||
to?: undefined; | ||
} | { | ||
@@ -69,3 +77,12 @@ type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; | ||
name?: undefined; | ||
} | undefined; | ||
from?: undefined; | ||
to?: undefined; | ||
} | { | ||
type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; | ||
from: import("./Users").User | undefined; | ||
to: import("./Users").User | undefined; | ||
user?: undefined; | ||
by?: undefined; | ||
name?: undefined; | ||
}; | ||
constructor(client: Client, data: MessageI); | ||
@@ -72,0 +89,0 @@ update(data: Partial<MessageI>): void; |
@@ -121,2 +121,4 @@ "use strict"; | ||
return { type, by: get(system.by) }; | ||
case "channel_ownership_changed": | ||
return { type, from: get(system.from), to: get(system.to) }; | ||
} | ||
@@ -123,0 +125,0 @@ } |
@@ -45,2 +45,4 @@ import type { DataEditMessage, DataMessageSend, Embed, Masquerade, Message as MessageI, SystemMessage } from "revolt-api"; | ||
name?: undefined; | ||
from?: undefined; | ||
to?: undefined; | ||
} | { | ||
@@ -51,2 +53,4 @@ type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; | ||
name?: undefined; | ||
from?: undefined; | ||
to?: undefined; | ||
} | { | ||
@@ -57,2 +61,4 @@ type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; | ||
name?: undefined; | ||
from?: undefined; | ||
to?: undefined; | ||
} | { | ||
@@ -63,2 +69,4 @@ type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; | ||
user?: undefined; | ||
from?: undefined; | ||
to?: undefined; | ||
} | { | ||
@@ -69,3 +77,12 @@ type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; | ||
name?: undefined; | ||
} | undefined; | ||
from?: undefined; | ||
to?: undefined; | ||
} | { | ||
type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; | ||
from: import("./Users").User | undefined; | ||
to: import("./Users").User | undefined; | ||
user?: undefined; | ||
by?: undefined; | ||
name?: undefined; | ||
}; | ||
constructor(client: Client, data: MessageI); | ||
@@ -72,0 +89,0 @@ update(data: Partial<MessageI>): void; |
@@ -115,2 +115,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
return { type, by: get(system.by) }; | ||
case "channel_ownership_changed": | ||
return { type, from: get(system.from), to: get(system.to) }; | ||
} | ||
@@ -117,0 +119,0 @@ } |
{ | ||
"name": "revolt.js", | ||
"version": "6.0.8", | ||
"version": "6.0.9", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
475572
13237