#InRole

1 messages · Page 1 of 1 (latest)

ionic lotus
#

Have you ever wondered who had that shiny janitor role in that big server? Or who wasn't good and got the brain rot role? The InRole plugin will answer all of these questions! It allows you to view most members of a specific role in a server.

💾 Installing
Follow the instructions in the pinned post. Git link: https://git.nin0.dev/userplugins/in-role
If you can't access the git link, ping me.

🛠️ Usage
Either run the /inrole command with your target role as parameter, or right-click a role in a user profile. A modal with a full list of members with that role will then show.

⚠️ Limitations
Due to Discord limits put in place to avoid mass DMing, if the target server:

  • has over 100 members;
  • and you do not moderate it;
    these limits will apply:
  • can't see offline users;
  • can't see more than 100 members. Scroll down in the member list to cache more members;
  • friends and implicit (DMed people) will always be shown regardless of status.
    These cannot be bypassed in any way, except for the 100 member limit.
lusty cliff
#

nino ur the best dev of ever :3

stone knoll
modest raven
#

epic

magic ore
#

i must try soon

worthy compass
ionic lotus
#

okay

#

just needed a little reboot

#

I should add automatic reboots every day at 12am

#

still no services work??

bronze basalt
#

Fire

iron breach
#

holy shit i need to try this

iron breach
#

very cool thingy!

molten sigil
#

love this

stark karma
#

Man, they should add this officially tbh.

ionic lotus
#

no

#

I’m not PRing it because of its limitations

hollow relic
#

lol

magic ore
#

add disclaimer in the UI showing the limitations

ionic lotus
hollow relic
#

ok ima download it and see if it works :)

magic ore
#

you will also add the existing list role members endpoint

ionic lotus
#

its hard capped to 100

magic ore
#

I know

ionic lotus
#

unlike fetching members and filtering them

magic ore
#

i guess it could be useful for offline members though

hollow relic
#

do i make the zip to a ts file?

ionic lotus
#

good idea

ionic lotus
hollow relic
#

k

ionic lotus
stark karma
hollow relic
#

why?

stark karma
#

I lost where I was in the steps.

#

And messed everything over LOL.

hollow relic
#

oh sry

stark karma
#

Yeah so I just uninstalled everything.

#

But it would be a cool addon to the official thing.

#

It would be awesome if I gotten it to work but I gotten errors and messed up some stuff so I gave up on it lol.

ionic lotus
#

Update

  • add nin0lib
    (fake)
ionic lotus
#

GIT LINK UNAVAILABLE

Yes, I know. Shit happened at home and I had to take down all services for a while.
Existing users can still use the plugin

ionic lotus
#

after 14 hours of downtime forgejo is finally back

ionic lotus
naive pelican
worthy compass
ionic lotus
#

known issue, cant fix rn.
ill do so around 6pm

ionic lotus
#

everything finally back up

ionic lotus
#

wait theres an experiment?

#

nice

#

does it have any arbitrary user limit

#

like max users it shows?

shell ore
#

fy

stark karma
#

Man I wish this was an official addon.

modest raven
#

e

naive sage
#

why the link dosent work?

short mantle
quick cosmos
#

Ping me when the downtime for the website is over haha.

magic ore
#

vfjd?

tight treeBOT
magic ore
#

@dusty heart bombcatcozy2

#

how long was it since last time it exploded

#

i bet nin0 is sleeping rn

quick cosmos
#

vfjd?

tight treeBOT
quick cosmos
#

vfjd?

tight treeBOT
quaint ravine
#

okay so im guessing the git link doesn't work still?

tight treeBOT
magic ore
#

🎉

#

it works (i think)

quaint ravine
#

dont think so

#

tried git clone

#

nope

lone bear
#

vfjd?

tight treeBOT
floral violet
#

pls update 🙏🏾

magic ore
#

it's not broken

#

it could do with a UI overhaul though

magic ore
#

the server is down

#

if you have plugin already it works blobcatcozy

gleaming gulch
#

vfjd?

tight treeBOT
atomic flame
#

I have been wanting this for SOOOO long

fleet forge
#

Theres a way to change these limits from server-wide to role-wide, so you can see all members of a role unless it has over 100 members

#

You can use Constants.Endpoints.GUILD_ROLE_MEMBER_IDS(guildId, roleId) endpoint to get the members (up to 100) with a specific role

#

returns a list of ids

#

then add to cache with findByPropsLazy("requestMembersById").requestMembersById(guildId, usersInRole, false); and now you have all (up 100) members stored in cached with the specific role

fleet forge
#

just the ui is kinda trash

fleet forge
molten sigil
#

aight

fleet forge
molten sigil
#

will check it out ltr tnight

velvet lagoon
#

Link isn't accessible

gleaming gulch
#

blame @ionic lotus

#

( wait tell he fixes it)

ionic lotus
upbeat aspen
#

So if anyone is updating this, can you fix the crash when you first hit the button lol

molten sigil
#

plugin works just fine for me 🤷

dark finch
#

Can't toggle on the plugin

modest raven
#

this broke after the new patch involving GuildRoleStore

#

very easy fix

#

just replace GuildStore with GuildRoleStore

lucid abyss
#

Cannot acces the link :(((

lucid abyss
#

@ionic lotus ^^

ionic lotus
lucid abyss
#

Is that normal?

ionic lotus
#

okay so i accidentally corrupted the entirety of nin0git

#

okay fixed @lucid abyss

lucid abyss
sudden crow
#

Uhh will the git link be fixed?

ionic lotus
#

cba

ionic lotus
sudden crow
abstract rock
#

the "view members in role" doesnt show up in the role context menu

slate patrol
#

vfjd?

tight treeBOT
gaunt gazelle
#

same

grand gull
#

@ionic lotus hey, so I wanted to make a pull request to fix it. But I just signed up in git nin0 and says I have to ask an admin to activate my account and I guess that's you and all of that. It's ok if you don't want to activate my account. Here's a patch file with the changes.
https://files.catbox.moe/1b46yr.patch

#

Have a nice day

ionic lotus
#

make a PR i can’t review patches on mobile

ionic lotus
#

ty

gaunt gazelle
#

work well

ionic lotus
#

yea ik

lucid bay
#

Thank you awesome people for keeping updated all the plugins!

#

@tropic blade thank you to you as well!

torn delta
#

not work

abstract rock
#

it does work (atleast for me)

slate patrol
#

works

ionic lotus
#

probably a ClientTheme

#

this was ages ago i can't remember ykyk

ionic lotus
velvet lagoon
#

Is this pl non official cause he has (limitation) ?

north hornet
#

@ionic lotus How do I enable it

north hornet
ionic lotus
modern geyser
#

the server im aiming to see total people with a role has many people off

ionic lotus
modern geyser
#

it's not possible damn

#

the server im in has like 20 people with the role online

#

but 400 offline

ionic lotus
#

discontinued since discord released this as an official feature