fix
This commit is contained in:
parent
8d18f6b1ab
commit
758db4cfb2
1 changed files with 1 additions and 2 deletions
|
@ -177,8 +177,7 @@ export class Interaction extends SnowflakeBase {
|
||||||
type: data.type ?? InteractionResponseType.CHANNEL_MESSAGE_WITH_SOURCE,
|
type: data.type ?? InteractionResponseType.CHANNEL_MESSAGE_WITH_SOURCE,
|
||||||
data:
|
data:
|
||||||
data.type === undefined ||
|
data.type === undefined ||
|
||||||
data.type === InteractionResponseType.CHANNEL_MESSAGE_WITH_SOURCE ||
|
data.type === InteractionResponseType.CHANNEL_MESSAGE_WITH_SOURCE
|
||||||
data.type === InteractionResponseType.CHANNEL_MESSAGE
|
|
||||||
? {
|
? {
|
||||||
content: data.content ?? '',
|
content: data.content ?? '',
|
||||||
embeds: data.embeds,
|
embeds: data.embeds,
|
||||||
|
|
Loading…
Reference in a new issue