Hatysa (/hɑːˈtiːsə/) is a Discord bot that implements a few fun commands.
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
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>"
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
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.
Send patches and questions to ~nerosnm/hatysa-devel@lists.sr.ht.
Bug & issue tracker: ~nerosnm/hatysa.