GatewayIntent.MESSAGE_CONTENT / Failed to set bot activity #12

Closed
opened 2022-09-27 16:56:27 +00:00 by Tikkle · 8 comments
Tikkle commented 2022-09-27 16:56:27 +00:00 (Migrated from github.com)

Version information

1.1.2

Expected Behavior

Message Content
No error about Message Content Intent since it is enabled in the Bot and a working bot

Activity Status
No error about setting activity and a working bot

Actual Behavior

Message Content
Error about Message Content Intent and the bot ceases to work.
Log

Activity Status
Error about setting activity status and bot ceases to work.
Log

Reproduction Steps

For both issues

  1. Install Mod
  2. Setup Bot according to Modrinth page instructions
  3. restart server, observe error, and bot not working

Java version

Java 17

Additional information

No response

### Version information 1.1.2 ### Expected Behavior **Message Content** No error about Message Content Intent since it is enabled in the Bot and a working bot **Activity Status** No error about setting activity and a working bot ### Actual Behavior **Message Content** Error about Message Content Intent and the bot ceases to work. [Log](https://hastebin.com/enaqakijad.kotlin) **Activity Status** Error about setting activity status and bot ceases to work. [Log](https://hastebin.com/utokigudej.sql) ### Reproduction Steps **For both issues** 1. Install Mod 2. Setup Bot according to Modrinth page instructions 3. restart server, observe error, and bot not working ### Java version Java 17 ### Additional information _No response_
Awakened-Redstone commented 2022-09-28 22:01:08 +00:00 (Migrated from github.com)

Oh, seems that discord did dome changes to the intents, I'll update the documentation. On the bot page there should be a message intent toggle or something similar.

I'll also work on slash commands support too to avoid future issues with discord enforcing them

Oh, seems that discord did dome changes to the intents, I'll update the documentation. On the bot page there should be a message intent toggle or something similar. I'll also work on slash commands support too to avoid future issues with discord enforcing them
Awakened-Redstone commented 2022-09-28 23:25:29 +00:00 (Migrated from github.com)

I gave a look at the documentation and everything should be right, please make sure that you enable this option
image

An update supporting slash commands will still be done tho.

Sorry for the late response, I haven't gotten a notification about the issue, or I just didn't see, probably the second one

I gave a look at the documentation and everything should be right, please make sure that you enable this option ![image](https://user-images.githubusercontent.com/40528665/192905736-5f45609f-e159-43b2-b891-fbc971728318.png) An update supporting slash commands will still be done tho. Sorry for the late response, I haven't gotten a notification about the issue, or I just didn't see, probably the second one
Tikkle commented 2022-09-29 00:15:30 +00:00 (Migrated from github.com)

No worries, i do have the Message Content Intent enabled, but the mod/bot still seems to not work.

Here is a list of my mods/datapacks if you want to recreate my issue:

Using Fabric Mod Loader 1.19.2

Mods:
Alternate Current, Armor Stand Editor, AutoWhitelist, Cloth Config, dcintegration (discord chat+mc chat), fabic api, fabric kotlin, ferritecore, krypton, lazydfu, lithium, midnightlib, nochatreports, repurposed structures, sessility, simply no report, starlight, timeoutout, wither-cage-fix

Datapacks:
BlazeandCaves Advancements Pack 1.15.zip, anti enderman grief v1.1.3.zip, custom nether portals v2.3.6.zip, double shulker shells v1.3.3.zip, more mob heads v2.10.1.zip, name colors v1.0.1.zip, nether portal coords v1.1.3.zip, silence mobs v1.1.3.zip, unlock all recipes v2.0.4.zip, villager workstation highlights v1.1.3.zip

No worries, i do have the Message Content Intent enabled, but the mod/bot still seems to not work. Here is a list of my mods/datapacks if you want to recreate my issue: Using Fabric Mod Loader 1.19.2 **Mods:** Alternate Current, Armor Stand Editor, AutoWhitelist, Cloth Config, dcintegration (discord chat+mc chat), fabic api, fabric kotlin, ferritecore, krypton, lazydfu, lithium, midnightlib, nochatreports, repurposed structures, sessility, simply no report, starlight, timeoutout, wither-cage-fix **Datapacks:** BlazeandCaves Advancements Pack 1.15.zip, anti enderman grief v1.1.3.zip, custom nether portals v2.3.6.zip, double shulker shells v1.3.3.zip, more mob heads v2.10.1.zip, name colors v1.0.1.zip, nether portal coords v1.1.3.zip, silence mobs v1.1.3.zip, unlock all recipes v2.0.4.zip, villager workstation highlights v1.1.3.zip
Awakened-Redstone commented 2022-09-29 00:50:13 +00:00 (Migrated from github.com)

I could not reproduce the error. have you used a previous version of the mod before?
Also, the activity status should not impact on the bot performance.
Do you mind sharing your configurations? Make SURE to remove the token if you share it

I could not reproduce the error. have you used a previous version of the mod before? Also, the activity status should not impact on the bot performance. Do you mind sharing your configurations? Make **SURE** to remove the token if you share it
Tikkle commented 2022-09-29 01:00:19 +00:00 (Migrated from github.com)

I think i removed it correctly:

https://hastebin.com/nonajexesu.json
https://hastebin.com/emiluyuvuw.json

I have not used your mod before, this is my first time :)

I think i removed it correctly: https://hastebin.com/nonajexesu.json https://hastebin.com/emiluyuvuw.json I have not used your mod before, this is my first time :)
Awakened-Redstone commented 2022-09-29 01:16:46 +00:00 (Migrated from github.com)

dcintegration seems to use the same library as AutoWhitelist, and the version it uses seems to be overriding the version my mod uses, I'll try to work on an update to fix the compatibility issue

dcintegration seems to use the same library as AutoWhitelist, and the version it uses seems to be overriding the version my mod uses, I'll try to work on an update to fix the compatibility issue
Awakened-Redstone commented 2022-09-29 02:10:35 +00:00 (Migrated from github.com)

I'm having some issues updating the mod and might have to finish updating tomorrow, I'll notify you when the update is ready

I'm having some issues updating the mod and might have to finish updating tomorrow, I'll notify you when the update is ready
Awakened-Redstone commented 2022-09-29 14:28:59 +00:00 (Migrated from github.com)

I made a compatibility version, since the mod is targeted to be as stable as possible and the compat version uses a JDA beta it doesn't fit in Modrinth so I published it on Github

I made a compatibility version, since the mod is targeted to be as stable as possible and the compat version uses a JDA beta it doesn't fit in Modrinth so I published it on [Github](https://github.com/Awakened-Redstone/AutoWhitelist/releases/tag/1.1.2-compat-dcintegration.2.4.7)
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
LunaFox/AutoWhitelist#12
No description provided.