dolfies / discord.py-self

A fork of the popular discord.py for user accounts.
https://discordpy-self.rtfd.io/en/latest/
MIT License
721 stars 166 forks source link

Membership Screening rules `accept()` + `view()` methods #454

Open Iinksafe opened 1 year ago

Iinksafe commented 1 year ago

Summary

Add a rules attribute in discord.Guild where we can accept or read the rules.

What is the feature request for?

The core library

The Problem

I am trying to accept the rules in various servers so that I can verify or send messages in a certain channel.

The Ideal Solution

Add an attribute named rules to discord.Guild with both accept and read (or view, whatever) that allows us to accept or read/view the rules of the server, as well as accepting them too (requires read()ing them first in order to accept() them).

The Current Solution

None (?). I checked welcome_screen but it has nothing to do with the membership screening (or the rules feature), nor does it have both accept() / view()/read() methods.

Additional Context

image

dolfies commented 1 year ago

The blocker on this was that membership screening v2 meant the API was in a state of flux. However, it (mostly?) stabilized now that screening v2 was put on the backburner. However, the API for this can be very complicated and will need some thought, so this probably won't make it into the v2.0.0 release.

Iinksafe commented 1 year ago

Cheers, thanks for the response! 🚀