Comments (8)
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.
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.
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).
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.
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.
Could you check if your bot follows the 3rd point outlined in #154?
from apollo.
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.
from apollo.
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.
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.
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)
- A lot of players (60+) will result in a too long message error HOT 2
- Typo in error message when editing a message
- If a user has turned off DMs, Apollo will error when sending messages
- Add stack trace to Sentry errors HOT 3
- Bot doesn't track last message status so it may sometimes accidentally spam (typically on restarts)
- Latvian locale typo
- DiscordAPIError: Unknown Message HOT 1
- Multiple Server Support HOT 2
- Add maintenance mode
- Feature Request: Player Count Notification HOT 1
- Reactions to Control Apollo
- Error: Incorrect login details were provided. HOT 2
- TypeError: Cannot read property 'guild' of null HOT 14
- Experiencing commands not working? See here.
- Connexion problem HOT 11
- Retry auth with Discord if failed
- Rich Presence Saying 'Playing Zeus' HOT 1
- Latvian locale typos
- Add Discord Rich Presence support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo.