futaba icon indicating copy to clipboard operation
futaba copied to clipboard

Apply role to "new users"

Open robstolarz opened this issue 7 years ago • 5 comments

Although we have a "Guest" role that prevents users from seeing the content of the server if they don't agree to abide by its rules, we don't have a similar role that is applied to users who have not been on the server for very long.

Reasons to apply such a role would be to deny access to certain channels until a user is considered "ready" for them, like some of the Discussion channels on Programming that tend to attract unwanted attention by new users.

It would be nice if there were configurable thresholds for # of messages as well.

edit: Is this a good candidate for StatBot integration? Such an integration would probably prevent extra work.

robstolarz avatar Dec 03 '18 23:12 robstolarz

This seems like statbot integration would be necessary. There isn't a good way for futaba to track total messages by itself. This could be part of the statbot cog subproject, and automatically apply a configurable role when a configurable number of messages were sent.

emmiegit avatar Dec 04 '18 02:12 emmiegit

give everyone the new user role, check all users with that role once an hour/day/whatever via the undocumented search API: https://discordapp.com/api/v6/guilds/109469702010478592/messages/search?author_id=109406338697723904&include_nsfw=true

raylu avatar Dec 04 '18 21:12 raylu

Oh I was wondering why we can't automatically search. But I wonder if adding an unofficial API call is worth it since we're going to add a statbot-based cog at some point anyways.

On Tue, Dec 4, 2018, 4:58 PM raylu <[email protected] wrote:

give everyone the new user role, check all users with that role once an hour/day/whatever via the undocumented search API: https://discordapp.com/api/v6/guilds/109469702010478592/messages/search?author_id=109406338697723904&include_nsfw=true

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/strinking/futaba/issues/244#issuecomment-444274676, or mute the thread https://github.com/notifications/unsubscribe-auth/AIcCltiDYhVAaMsx-3WD8eFzRIQykEh6ks5u1u_5gaJpZM4Y_lxJ .

emmiegit avatar Dec 04 '18 22:12 emmiegit

See also #203

emmiegit avatar May 27 '19 21:05 emmiegit

This seems to be completed via #321

programdenizen avatar Oct 09 '22 20:10 programdenizen