From 4462255168af2ad66c9c7405500e80d3fa41de33 Mon Sep 17 00:00:00 2001 From: Advaith Date: Thu, 8 Apr 2021 04:09:01 -0700 Subject: [PATCH] feat(MessageFlags): `EPHEMERAL` desc and added `LOADING` (#109) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- deno/v8/payloads/channel.ts | 7 +++++++ v8/payloads/channel.ts | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/deno/v8/payloads/channel.ts b/deno/v8/payloads/channel.ts index 10f141d3..0316a861 100644 --- a/deno/v8/payloads/channel.ts +++ b/deno/v8/payloads/channel.ts @@ -435,7 +435,14 @@ export enum MessageFlags { * This message came from the urgent message system */ URGENT = 1 << 4, + /** + * This message is only visible to the user who invoked the Interaction + */ EPHEMERAL = 1 << 6, + /** + * This message is an Interaction Response and the bot is "thinking" + */ + LOADING = 1 << 7, } /** diff --git a/v8/payloads/channel.ts b/v8/payloads/channel.ts index 3caef012..5decb8c9 100644 --- a/v8/payloads/channel.ts +++ b/v8/payloads/channel.ts @@ -435,7 +435,14 @@ export const enum MessageFlags { * This message came from the urgent message system */ URGENT = 1 << 4, + /** + * This message is only visible to the user who invoked the Interaction + */ EPHEMERAL = 1 << 6, + /** + * This message is an Interaction Response and the bot is "thinking" + */ + LOADING = 1 << 7, } /**