Discord Bots are custom applications that developers create to help manage activities on a Discord server or assist with moderation. These apps can also be installed directly from GitHub by cloning a repository, enabling users to select from a wide range of available bots. To use this feature, GitHub requires an account and password, or, as a much safer alternative, an account and a personal access token. This eliminates the need for a password when cloning repos and greatly increases password security, as each token can be viewed only once.
Note: Learn how to install a custom Discord bot using Github here.
1. Log in to the GitLab website.
2. From the Account Profile dropdown, select Edit profile.
3. Go to the Personal access tokens tab.
4. Choose Add New Token.
5. From the Token name field, enter the desired name.
6. Set an Expiration Date.
7. Select the desired scopes.
8. Press the Create Token button.
9. Copy the token and keep a backup of the token locally. The token cannot be accessed again later.