Bios-Marcel / cordless

The Discord terminal client you never knew you wanted.
BSD 3-Clause "New" or "Revised" License
1.65k stars 135 forks source link

Users missing from user list #245

Open avahe-kellenberger opened 4 years ago

avahe-kellenberger commented 4 years ago

How have you installed cordless

What happened

Users are missing from the user/member list.

How do you reproduce this bug

Run cordless, check the user list

Root Cause Analysis

I've ran cordless in 3 states - The most recent commit, the most recent release, and the release from 2019-11-19 (which did not have this issue). The issue of missing members exists in every method I've tried, which suggests there was an API change on Discord's end.

Solution?

We should check the main fork of discordgo and see if they have fixed this issue or are tracking the problem. It seems to only have started a few days ago.

Bios-Marcel commented 4 years ago

This appears to be related to smth with permissions. If I use a non admin user, i get this too.

EDIT: I already got the latest commits from discordgo and updated our fork. Doesn't change a thing.

L-as commented 4 years ago

This is a pretty bad bug, since it prevents you from @'ing people properly.

NilsIrl commented 4 years ago

You need this to get the list of users nowadays: https://luna.gitlab.io/discord-unofficial-docs/lazy_guilds.html#op-14-lazy-request

Bios-Marcel commented 4 years ago

Thanks for linking that, seems pretty useful.