Comments (5)
If you mean https://github.com/hydrabolt/discord.js/blob/indev/src/Client/InternalClient.js#L1385
then yup that looks like the proper fix and the place to add it.
from discord.js.
Eh, actually. That's wrong (or rather, not the entire issue.) The issue looks like it should be
user.status = data.user.status;
instead of user.status = data.status;
on https://github.com/hydrabolt/discord.js/blob/indev/src/Client/InternalClient.js#L1391
Same with the line after it, dealing with game_id.
from discord.js.
I think if we actually updated the user presence before emitting the presence event, it should work.
from discord.js.
OH lol, didn't see that. Yep that ordering. rip.
from discord.js.
Potentially fixed in d9b9d1d, you can test and if it works close the issue, otherwise please say and I'll have another look
from discord.js.
Related Issues (20)
- Buttons aren't shown when command is executed on mobile, but are when executed on pc. HOT 1
- source code should be included with packages on npm HOT 2
- Nextjs + @discordjs/core - Module not found: Can't resolve 'zlib-sync' HOT 5
- Cannot read properties of undefined (reading 'cache') on Channel Update HOT 1
- [@Dev][TS] getChannel<const T...> not valid typescript HOT 2
- What permissions are needed to trigger `interactionCreate` Event HOT 10
- getVoiceConnection sometimes return wrong channel HOT 3
- Thread members are not handled correctly HOT 1
- [Uncaught Rejection]: Error: Authentication failed HOT 7
- TypeError: Cannot read properties of undefined (reading 'send') HOT 6
- `GuildMember` and `GuildChannel` permission-based methods do not reflect permission changes on timeouts HOT 3
- # There is an error in ModalSubmitInteraction.js HOT 5
- `ButtonComponentData` fails type guard field check
- Bug: Message fetch causing whole app crash when wrapped in try/catch HOT 5
- Don't include dom types HOT 1
- Async cache functions (filter/keepOverLimit)
- setName method for updating channel name does not consistently resolve promises HOT 1
- Client.destroy fails with error HOT 1
- Major: discordjs/rest crashing on Node v16.9.1 HOT 14
- components: this.components.map((component) => component.toJSON()) HOT 1
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 discord.js.