Haxicord

Interface with Discord using Haxe
https://github.com/RaidAndFade/Haxicord

To install, run:

haxelib install Haxicord 0.2.2 

See using Haxelib in Haxelib documentation for more information.

README.md

Haxicord

Haxicord

Haxicord is a Discord API wrapper for Haxe.

Haxelib Discord

Installation

To install the library in your project, use the haxelib package manager:

haxelib install haxicord

Usage

Normal humans can click here for a proper example of some base features

Those of a lower level of dedication can use the example below: (Takes advantage of the new command api)

class Main extends CommandBot {

    static function main() {
        new Main("<token>",Main,"-"); //Create an instance of Commandbot with the prefix `-`
    }

    @Command
    function ping(message:Message){
        message.react("✅"); //React to the message with "✅"
        message.reply({content:"Pong!"}); //Send "Pong!" in the same channel
    }
}

Documentation

You can find the documentation here

Community

Join the Haxicord Discord for more help & to meet others using the library (as well as the dev) Discord

Contributors
RaidAndFade
Version
0.2.2
Published
3 months ago
License
GPL

All libraries are free

Every month, more than thousand developers use haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on Github!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on Github