onyx
onyx
Onyx is a Crystal bot that serves as a knowledge database and bookmarking client for discord.
It saves user-specific bookmarks to save interesting messages you received for later.
Usage
~help
to get a list of all commands. Run ~pin
to save the immediate previous message or do ~pin <message>
to save a specific message. (Supports code snippets and markdown)
~delete <id>
to delete a specific bookmark. ~deleteall
, pretty obvious ~list
sends you a dm with all your bookmarks.
Installation
Clone the github repository.
Run shards install
Create a config.yaml
file with your discord_token
and client_id
.
Configure the postgres database based on the orm schema and the connection information at the start of src/onyx.cr
and in src/db.cr
. And then do crystal run src/onyx.cr
to launch your bot.
- Fork it (https://github.com/your-github-user/onyx/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Uzay-G - creator and maintainer
onyx
- 1
- 0
- 0
- 0
- 2
- over 4 years ago
- May 4, 2020
MIT License
Sun, 17 Nov 2024 02:03:38 GMT