summaryrefslogtreecommitdiff
path: root/packages/gateway/src/commands/say.ts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-10-16 00:02:40 -0700
committerFuwn <[email protected]>2025-10-16 00:02:40 -0700
commit357657bfe89e098a6c614a53e576c0414f82d6d1 (patch)
treee659478455be0ebb4a9003dd480f9ca3d39d4cd3 /packages/gateway/src/commands/say.ts
parentfeat(gateway:messageCreate): Refine welcome constants (diff)
downloadumabotdiscord-357657bfe89e098a6c614a53e576c0414f82d6d1.tar.xz
umabotdiscord-357657bfe89e098a6c614a53e576c0414f82d6d1.zip
feat(gateway:commands): Add sayc command
Diffstat (limited to 'packages/gateway/src/commands/say.ts')
-rw-r--r--packages/gateway/src/commands/say.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/gateway/src/commands/say.ts b/packages/gateway/src/commands/say.ts
index 76a6ec3..2783fb0 100644
--- a/packages/gateway/src/commands/say.ts
+++ b/packages/gateway/src/commands/say.ts
@@ -4,6 +4,8 @@ import { replyWithCleanup } from "../utilities";
export const handleSayCommand = async (message: Message) => {
if (message.author.bot) return;
+ if ((message as any).saycHandled) return;
+
if (message.content.toLowerCase().startsWith("uma!say")) {
const application = await message.client.application?.fetch();
const ownerId = application?.owner?.id;