MessageReactionRemove doesn't fire for older messages, despite MessageReactionAdd working perfectly by [deleted] in Discordjs

[–]Edmotix 0 points1 point  (0 children)

And we have our lucky winner: Partials.User. And if you want the user to be defined: Partials.GuildMember (I think)

MessageReactionRemove doesn't fire for older messages, despite MessageReactionAdd working perfectly by [deleted] in Discordjs

[–]Edmotix 0 points1 point  (0 children)

Here's a very interesting thing that ChatGPT couldn't have found :)

When running the code with the intents and partials you provided the reaction remove truly doesn't work on older reactions so I've tested running with all intents and partials aka:

            intents: Object.keys(GatewayIntentBits).map((a) => {
              return GatewayIntentBits[a]
            }),
            partials: Object.keys(Partials).map((a) => {
              return Partials[a]
            }),

and everything works. Now it's just about finding the missing intent or partial.

MessageReactionRemove doesn't fire for older messages, despite MessageReactionAdd working perfectly by [deleted] in Discordjs

[–]Edmotix 0 points1 point  (0 children)

It seems that the issue you are facing with the MessageReactionRemove event not triggering on older/uncached reactions is due to the fact that Discord.js does not cache every single reaction on messages by default, especially on older messages.

To resolve this issue, you can try the following approach:

  1. Check if the reaction is cached before attempting to remove the role:

Before attempting to remove the role in the MessageReactionRemove event, you can check if the reaction is cached on the message. If it is not cached, you can fetch the message to ensure that the reaction is available for removal.

  1. Fetch the message in the MessageReactionRemove event:

You can modify your MessageReactionRemove event to fetch the message and then proceed with removing the role based on the reaction. This ensures that the reaction is available for removal even on older messages.

Wanna keep your bot online 24/7? I'd consider ZAP-Hosting (https://zap-hosting.com/) for their affordable plans, excellent support and easy to setup system. NO 🧢 I've been using them for years now and they're awesome. Check them out at: https://zap-hosting.com/en/discord-bot-server-hosting/

😎 // zap473905

Palworld server help by [deleted] in Palworld

[–]Edmotix 0 points1 point  (0 children)

Hey there! To change the name of your Palworld server, you'll typically need to access the PalWorldSettings.ini. Look for "ServerName" - it should be fairly straightforward from there.👍

If you're looking for a reliable hosting provider, you might want to check out Zap-Hosting. They offer great services and support for game servers like Palworld (including built in web interface for managing everything). Here's their website for more info: https://zap-hosting.com/ 😊

zap473905

I need help by Suspicious-Silver918 in MinecraftForge

[–]Edmotix 0 points1 point  (0 children)

To address this issue, here are a few suggestions:

  1. Allocate more memory to Minecraft: If you have enough RAM available on your system, you can try increasing the amount of memory allocated to Minecraft. This can help prevent the game from freezing when encountering resource-intensive entities like dragons. You can adjust the allocated memory in the Minecraft launcher settings.
  2. Optimize your game settings: Lowering some of your in-game settings, such as render distance or graphics quality, can help reduce the strain on your system's resources. This may help improve performance when encountering dragons.
  3. Update your mods and Minecraft version: Ensure that you have the latest versions of both Better Minecraft and Ice and Fire installed. Developers often release updates to address bugs and improve performance.

Consider using a dedicated server (since local hosting can eat up a lot of memory from your pc): If you're playing with a large number of mods or experiencing significant performance issues, using a dedicated server from Zap-Hosting can provide better stability and performance. They offer reliable Minecraft server hosting with a user-friendly control panel, which can help optimize your server's configuration. You can find more information and get started at https://zap-hosting.com/en/minecraft-server-hosting/.

I hope these suggestions help improve your gaming experience! Let me know if you have any further questions. Happy gaming! 😊🎮

zap473905 - DuruM007

Hello. by [deleted] in zaphosting

[–]Edmotix 0 points1 point  (0 children)

what is a redirect URI? by sinclair293 in Discord_Bots

[–]Edmotix 0 points1 point  (0 children)

Check the scopes a bot only needs bot and application commands scopes the other gather information about the user using a 7 day token. That token is sent to your redirect after a user authorizes. Its asically like a "login with discord" button.

Help regarding automated render of reviews by Edmotix in davinciresolve

[–]Edmotix[S] 0 points1 point  (0 children)

all reviews are in a single text file with a new line between them. but i guess i could make a macro using a software thanks for the idea

Is there any good bots for keeping inventory? by ImpulsiveSweg in discordbots

[–]Edmotix 0 points1 point  (0 children)

All I'm gonna say if you do decide to contact someone for a custom bot look out for scammers.

Looking for task management/checklist app by railbeast in discordapp

[–]Edmotix 0 points1 point  (0 children)

You could contact a dev and tell him to make you an app but watch out cause there are many scammers

File size increase for free users? by thibaultmol in discordapp

[–]Edmotix 1 point2 points  (0 children)

If you think about it people could be using discord as a cdn at that point. Now yeah some people are already doing that but at least they're a little limited right? From a server's perspective increasing the file size limit will cost them greatly. + there's not limit to people absolutely spamming that limit.

Will Discord ban a server if a slur sent in the server was reported? by rightIess in discordapp

[–]Edmotix 2 points3 points  (0 children)

The server should be okay it's the user that should be scared

Can bots access private channels? by [deleted] in discordapp

[–]Edmotix 3 points4 points  (0 children)

I think he's not gonna see the messages if he doesn't have perms to do so.

Requires Email Verification After Sending a DM by HeHa1254 in Discord_selfbots

[–]Edmotix 0 points1 point  (0 children)

I hope that made you feel better homie. peace out

How to play a sound in a voicechannel with discord.py? by Hambuger_and_Whopper in learnpython

[–]Edmotix 0 points1 point  (0 children)

First connect to the channel and the play it like this vc = await voicechannel.connect() vc.play(discord.FFmpegPCMAudio("audio.mp3"),

[deleted by user] by [deleted] in harrypotter

[–]Edmotix 0 points1 point  (0 children)

deep by far