#OpenAI question
1 messages · Page 1 of 1 (latest)
const client = new Client({ intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.MessageContent ] });```
Is there a better way to write this?
you did choose the best way
How would I add direct messages
same way as you added GuildMessages or MessageContent?
GatewayIntentBits.DirectMessages
yes
Awesome, thx
why "OpenAI question" ?
It's a gpt chatbot
Yes, just disnt know if OpenAI integration would change anything