Liking cljdoc? Tell your friends :D

discord.clj

Clojars Project

discord.clj is a Clojure wrapper around the Discord APIs. This library was written to ease in the creation of Discord bots in Clojure.

The goal is to implement a fully-compliant Discord API wrapper. This library is heavily influenced by discord.py. I'm working on constantly improving the feature set in this library would welcome contributors who want to help make that a reality :)!

Documentation

For documentation, please check the wiki, where I'm compiling tutorials on the various features available in discord.clj!

Installation

The library is available on Clojars here. You can install it using any of the following methods:

Leiningen/Boot:

[discord.clj "1.1.1"]

Clojure CLI/deps.edn:

discord.clj {:mvn/version "1.1.1"}

Gradle:

compile 'discord.clj:discord.clj:1.1.1'

Maven:

<dependency>
  <groupId>discord.clj</groupId>
  <artifactId>discord.clj</artifactId>
  <version>1.1.1</version>
</dependency>

Compilation

You can create a standalone JAR file for this by running the following:

$ lein uberjar
$ java -jar ./target/uberjar/discord.clj-1.1.1-standalone.jar

To run the core namespace which contains a basic bot framework, you can run the following:

$ lein run

License

Copyright © 2017 Christopher Chapline

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close