barthofu / tscord

🤖 A fully-featured discord bot template written in Typescript, intended to provide a framework that's easy to use, extend and modify
https://tscord.discbot.app
MIT License
251 stars 19 forks source link

[Feature] "Add to server" button #68

Closed airone01 closed 2 years ago

airone01 commented 2 years ago

Feature?

Use the "Add to server" button by default

Example here with the Tatsumaki bot:

Add to server button

Mr-Artemus commented 2 years ago

If I'm not mistaken, this button can only be configured from the Discord developers interface. Steps to activate it:

  1. Choose your application
  2. Select OAuth2 on the left bar
  3. Into the Default Authorization Link section, select In-app Authorization
  4. Check both boxes
  5. Choose the default permissions
  6. Save