Right now we don't really have a good way of checking if a person is a member of a guild.
You can lookup in role_membership when the guild ID matches joining on the roles table to find the @everyone role, but that's a huge pain, and since role information is preserved even for people who leave, it's not totally accurate.
So instead a separate table for tracking guild-specific data should be made.
Right now we don't really have a good way of checking if a person is a member of a guild. You can lookup in
role_membership
when the guild ID matches joining on theroles
table to find the@everyone
role, but that's a huge pain, and since role information is preserved even for people who leave, it's not totally accurate.So instead a separate table for tracking guild-specific data should be made.