~nerosnm/hatysa

Discord bot for fun commands
Fix clippy errors
Fix broken badge links in README.md
Fix lint errors

clone

read-only
https://git.sr.ht/~nerosnm/hatysa
read/write
git@git.sr.ht:~nerosnm/hatysa

You can also use your local clone with git send-email.

#Hatysa

Build Status Discord

Hatysa (/hɑːˈtiːsə/) is a Discord bot that implements a few fun commands.

#Usage

#Discord Bot

Install the bot from crates.io:

$ cargo install hatysa

To run the bot, you'll need to provide a Discord token (obtainable from the Discord Developer Portal), as follows:

$ DISCORD_TOKEN="<token>" hatysa

The prefix can be changed from the default (,) using HATYSA_PREFIX, and you might also want to change the tracing subscriber filter to customise what log messages are printed out:

$ DISCORD_TOKEN="<token>" HATYSA_PREFIX="!" RUST_LOG="info,hatysa=debug" hatysa

#Backend

The backend of the bot is available as a library, iota-orionis, to make use of any of its commands without interacting with Discord. To use the crate, just add the following to your Cargo.toml file, where <version> is the version obtained from cargo search iota-orionis:

iota-orionis = "<version>"

#License

Licensed under either of

at your option.

#Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

#Resources

Send patches and questions to ~nerosnm/hatysa-devel@lists.sr.ht.

Bug & issue tracker: ~nerosnm/hatysa.