eyalFischel / maakaf-stats

A service to collect Maakaf's stats from Discord, LinkedIn, and Git for better understanding.
MIT License
6 stars 0 forks source link

POC - Discord API and bots #3

Closed eyalFischel closed 3 months ago

eyalFischel commented 4 months ago

Investigate the Discord API and bots

  1. What information can we get from the REST API?
  2. What information can we get while using bots?
  3. What limitations do we have while using the API\bots?
Avev commented 4 months ago

I'll work on that

Avev commented 4 months ago
  1. You can get audit logs, members list with with info about them including when they joined the server and through which invite link, server insights(only for large servers above 500 members).
  2. There are 2 types of discord apps, OAuth2 and a bot. an OAuth2 app can get information about the user, his messages, server lists and their members. a bot app can get information where it is installed, it can be users or servers, and get messages, logs, server members, invites, etc...
  3. bot has much more options in term of access and can be installed to a server or a user and manage it if granted the needed authorization, while Oauth2 app can only access information and actions of a user.

Using a bot seems more appropriate for out needs.

eyalFischel commented 4 months ago

I agree, Using a bot will be the best solution to our case.