From 90caabce76166e4f9930d8cf3773febb6ea0148c Mon Sep 17 00:00:00 2001 From: Wade Date: Tue, 24 Sep 2024 12:54:02 +0200 Subject: [PATCH] Update badword.js example Signed-off-by: Wade --- examples/badword.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/badword.js b/examples/badword.js index 124f537..3c42ada 100644 --- a/examples/badword.js +++ b/examples/badword.js @@ -1,9 +1,10 @@ // Importing TouchGuild.Client -const { Client, Member } = require("touchguild"); +const { Client, Member, GatewayLayerIntent } = require("touchguild"); // Creating client & connecting. const client = new Client({ - token: "INSERT TOKEN" + token: "INSERT TOKEN", + intents: [GatewayLayerIntent.GUILD_MESSAGES, GatewayLayerIntent.MESSAGE_CONTENT] }); client.on("ready", () => {