onyx

Version, currently master branch1 version
  • master branchlatestMay 5, 2020

github.com/Uzay-G/onyx

No description declared in shard.yml.

1 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  onyx:
    github: Uzay-G/onyx
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.34.0
License
MIT
Author
Uzay-G
Target
  • onyx from src/onyx.cr

Dependencies

Runtime Dependencies

  • clear*github: anykeyh/clear, branch: master
  • discordcr*github: discordcr/discordcr, branch: cr-0.34

README

onyx

Onyx is a Crystal bot that serves as a knowledge database and bookmarking client for discord.

Invite the bot to your server

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.

  1. Fork it (https://github.com/your-github-user/onyx/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • Uzay-G - creator and maintainer