discordx-ts / discordx

🤖 Create a discord bot with TypeScript and Decorators!
https://discordx.js.org
Apache License 2.0
607 stars 50 forks source link

[Bug]: Bot is not responding to commands, nor seeing any new messages in an event #891

Closed ay0ks closed 1 year ago

ay0ks commented 1 year ago

What happened?

Bot is not responding to any of the commands, nor seeing any new messages in the messageCreate event. Screenshot_2022-11-01-04-58-48-755_com aliucord Screenshot_2022-11-01-04-59-01-886_com termux

Intents:

intents: [
    IntentsBitField.Flags.Guilds,
    IntentsBitField.Flags.GuildMembers,
    IntentsBitField.Flags.GuildMessages,
    IntentsBitField.Flags.GuildMessageReactions,
    IntentsBitField.Flags.GuildVoiceStates,
],

Reproduction

  1. Create project using npx create-discordx
  2. Start the bot
  3. Try to use any of the simple commands

Package

discordx

Version

Stable

Relevant log output

No response

Code of Conduct

samarmeena commented 1 year ago

try IntentsBitField.Flags.MessageContent intent

samarmeena commented 1 year ago

Let me know if it work out and use our discord server for more support.

https://discordx.js.org/discord