| Crates.io | uwubot |
| lib.rs | uwubot |
| version | 0.3.0 |
| created_at | 2021-03-26 04:50:50.576816+00 |
| updated_at | 2021-03-28 16:05:33.231491+00 |
| description | discord bot for uwuifying text |
| homepage | |
| repository | https://github.com/yaahc/uwubot |
| max_upload_size | |
| id | 373667 |
| size | 86,239 |
This crate defines a discord bot using serenity for uwuifying text via uwuify.
You can install uwubot from source or from crates.io
cargo install uwubot
You can setup your own instance of uwubot using the following steps:
uwubot <bot-token> --client-id <client-id>applications.commands oauth2 scope on the OAuth2 tab of the developer portalAlternatively you can try to run uwubot with the provided Dockerfile. The bot-token and client-id args can be set via the BOT_TOKEN or CLIENT_ID environment variables.
docker build -t uwubot .
docker run -it --rm --env BOT_TOKEN="<bot-token>" --env CLIENT_ID=<client-id> --name uwubot-running uwubot
uwubot allows you to either register global commands or guild commands. To register a guild command you'll need to figure out your discord server's guild ID. I'll try to add an easy way to export this in uwubot in the future but for now you're on you're own, I'm sowwy >_<.
Guild commands have the advantage of being instantly updated, where as global commands are cached with a 1 hour update rate.