diff --git a/examples/ping.js b/examples/ping.js index 5b9fbf4..088ee34 100644 --- a/examples/ping.js +++ b/examples/ping.js @@ -1,5 +1,8 @@ -const { Client } = require("touchguild"); -const client = new Client({ token: "INSERT TOKEN" }); +const { Client, GatewayLayerIntent } = require("touchguild"); +const client = new Client({ + token: "INSERT TOKEN", + intents: [GatewayLayerIntent.GUILD_MESSAGES, GatewayLayerIntent.MESSAGE_CONTENT] +}); client.on("ready", () => { console.log("Ready as", client.user.username);