libra-bot

Crates.iolibra-bot
lib.rslibra-bot
version0.1.7
sourcesrc
created_at2020-04-08 08:48:47.572311
updated_at2020-05-05 20:03:53.875557
descriptionA Discord bot for personal use.
homepage
repositoryhttps://github.com/rsaihe/libra
max_upload_size
id227586
size63,249
Amelia Clarke (rsaihe)

documentation

README

libra

A general-purpose Discord bot made with the Serenity library.

Setup

Once you clone the repository, copy the .env.example file and rename it to .env.

After creating a new bot application on Discord's developer portal, copy the token to the end of the DISCORD_TOKEN= line of the .env file.

Assuming Rust is installed, you should be able to run the bot with cargo run --release.

How to invite to a server

You can find your application's client ID on the developer portal. Once you have it, simply use the following link to invite the bot to a server:

https://discord.com/api/oauth2/authorize?client_id=CLIENT_ID&scope=bot&permissions=67488832

Note that you will have to replace the CLIENT_ID in the URL with the ID you copied.

Commit count: 46

cargo fmt