Git Product home page Git Product logo

Comments (8)

Guac0 avatar Guac0 commented on September 18, 2024

Note that I heard a second-hand account of someone else having this same/similar error with Apollo so it's probably not an error on my side, might have been an old version of the bot though. Also, this issue might be related to #13

from apollo.

CreepPork avatar CreepPork commented on September 18, 2024

Hey there, thanks for reaching out,

This issue is different from the referenced issue because the message was created successfully per your report rather where it couldn't create it because a field was empty.

Here, I would ask, are the permissions correct for the bot? As a quick test, I would ask if you could give the bot admin privileges and see if that works, then we can narrow down the required permissions.

Also, do you see the bot in side panel where all the users are in Discord, when you select the channel were the bot sent the message?

Could you also attach a screenshot of the message that the bot posted (you can blur out some stuff like the IP if you like)?

from apollo.

Guac0 avatar Guac0 commented on September 18, 2024

No change is noticeable when admin perms are given. In both admin and basic privileges tests, bot could successfully add the reaction to the reaction message, could send messages, was visible in the channel, etc.

For producing the requested screenshot, I followed the same steps outlined in the initial post which resulted in the same console window (note that the channel ID in the error message is correct[first set of numbers], but AFAIK message ID isn't[can't be sure as I don't know if there's a way for users to search for a message by its ID]). A new status message was produced that looked normal, but bot crashed immediately after it was sent. Bot continues to work perfectly when used in the first server it is added to (I double checked that I wasn't mixing up the different channel IDs and stuff between the servers in the .env so that's probably not it).
output

Also, bot status in discord shows as "bot failure" from the first attempted message edit until the crash at updateForce. I recall it being on the yellow "idle" status with same "bot failure" message in the past though instead of the green "online" status with the "bot failure" message it was today, but might be misremembering.
user

EDIT: censored some extra names and profile pictures due to them using unit logos (and deleted old revisions of this comment). Also, bot doesn't actually use 127.0.0.1 as display IP for normal use, just changed it to that for this test so I wouldn't have to censor it.

from apollo.

CreepPork avatar CreepPork commented on September 18, 2024

Could you check if your bot follows the 3rd point outlined in #154?

from apollo.

Guac0 avatar Guac0 commented on September 18, 2024

Both of my Apollo bot instances (I set up a second to properly test my hypothesis of it only working in the first server it's added to) have both of those permissions. In fact, I remember forgetting to enable this permissions for the second instance of the bot during initial setup and errors appeared in the console, which were fixed by giving it the privileged gateway permissions.

image

from apollo.

Guac0 avatar Guac0 commented on September 18, 2024

Just for clarity since I saw you removing the "bug" label, it's not fixed. Me talking about the errors going away is not the same errors referenced in the first post, I was just sharing that I knew it would output different errors if privileged gateway wasn't enabled so that you would know that this wasn't the issue. (apologies if you're changing the labels from bug to question for a separate reason)

from apollo.

CreepPork avatar CreepPork commented on September 18, 2024

I added the question label because I validated that it was a configuration bug, rather than an Apollo bug by itself but re-reading your issue title I just noticed the issue.

It has never been intended for Apollo to be running on multiple servers (the same instance).
Apollo looks only at the first guild server it has been attached to and works its magic there, if you have multiple guild servers, it simply wasn't programmed to do that.
I didn't consider you using the same instance and same configuration options to make it work on each server.

Due to my time constraints at this time, I can't dedicate the time to Apollo to implement this issue as I deem it relatively minor.

If you want, you can create a pull-request and implement it yourself or just learn how to configure it in a new Discord server, once all the settings work, you can create a hidden channel on your old Discord server and just configure it there.

Edit: It couldn't anyways possibly work for two different Discord servers because the message IDs, role IDs and everything else are unique to a server.

from apollo.

CreepPork avatar CreepPork commented on September 18, 2024

Due to the nature of this issue, I'm closing this issue. If you think it's not correct closing this issue, feel free to reopen.

from apollo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.