Discord Bots are custom applications developers make to help manage activities on a Discord server or assist in moderation. These apps can also be directly installed from Github by cloning a repository; this enables users to select from a huge range of available bots. To utilize this feature, Github needs an account and password, or as a much safer alternative, an account and personal access token. This eliminates the need to use a password for repo cloning and greatly increases password security, as each token generated can only be viewed 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.