Skip to content

Commit 502c473

Browse files
authored
fix err and fmt
1 parent e26f93e commit 502c473

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/structures/interactions.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,10 +342,8 @@ export class Interaction extends SnowflakeBase {
342342
tts: (option as WebhookMessageOptions)?.tts,
343343
allowed_mentions: (option as WebhookMessageOptions)?.allowedMentions,
344344
flags:
345-
((option as WebhookMessageOptions)?.flags ?? 0)
346-
| (option as WebhookMessageOptions)?.ephemeral === true
347-
? 64
348-
: 0,
345+
((option as WebhookMessageOptions)?.flags ?? 0) |
346+
((option as WebhookMessageOptions)?.ephemeral === true ? 64 : 0),
349347
components:
350348
(option as WebhookMessageOptions)?.components === undefined
351349
? undefined

0 commit comments

Comments
 (0)