#xictul thread
1 messages · Page 1 of 1 (latest)
oh fair enough
well i run a minecraft smp thing and i run adverts for it on reddit which people can join from. only problem is there's hacking groups that target minecraft servers and exploit client-sided bugs to in essence "nuke" the server and cause a bunch of issues. they even did it to minecraft's official mob vote that was hosted in a server.
anyway, i'd like to make my bot block anyone in discord servers that are specifically meant to target and share exploits and bring down servers. me and my team are in quite a lot because we check people's mutal servers when they go through my server's verification process but since it's manual it can take time. anyway, i can't fix it
@stuck citrus
that's what i was asking for
could that work? i run it through discord buttons, does discord support redirects?
ohh yeah
ButtonBuilder#setURL()
Sets the URL for this button
i never use them, forgot they existed
ok ok so you're saying i can redirect them to an oauth page which would give my bot permission to check the servers they're in via the discord api and fetch the server id, cross reference it with my bot's database to see if they're in a no-no server and ban them if they are?
@stuck citrus hellllo
yes
i could make that a feature for my multi-guild one 
okay so now i need to learn how to make an oauth page, use the discord api to fetch information about a user, and store that in my database... wooo
Here's some info about oauth
OAuth2: Getting started with OAuth2