10.5.1 • Published 4 years ago

discord.hy v10.5.1

Weekly downloads
3
License
Apache-2.0
Repository
-
Last release
4 years ago

DISCORD.HY

Welcome to Discord.hy, the most modern discord bot making library, developed by Hydrogen Studio.

Table of Content

Discord.hy Info About Table of Content Install Basic Bot Example

Info

Requires node.js version 12.0.0 or above

Documentation: https://discordhy.js.org

Discord: support server

Stats

About

Discord.hy is a modern discord custom bot making library. We currently only support sending messages, but more are coming everyday!

We have reached 100% coverage!

Plugins

To use plugins, you must install discord.hy globally for the CLI commands to work.

What is unique about discord.hy is that it allows plugins to be installed. Down below is a list of current available plugins.

  1. Dsn.js api - post your bot's status to discordservices.net - install using discord CLI command

  2. express - host your own website using this plugin - install using discord CLI command

Install

npm i -g discord.hy

Basic Bot Example

let Discord = require("discord.hy")// import library | npm i discord.hy
let client = new Discord.Client({ websocketstat: true });//set up client with options
 
 
client.on("message", function(msg){//call in the 'message' event
    if(msg.content.startsWith("!ping")){//check the message content for !ping
        let Embed = new Discord.RichEmbed()
           .setTitle("Ping Command Response")
           .addField("Ping", "Pong", true)
           .addField("Ping", "Pong")//inline default to false
           .setTimestamp()
           .setColor("RANDOM");
        msg.channel.send(Embed)//send Embed response
    }
})
 
 
client.on("ready", function(){//call in the 'ready' event
    console.log("Bot online!")//log the ready data in the console
})
 
 
 
let login = client.login("super secret bot token")

WE HAVE BEATEN 100% api coverage! We created this package like discord.js so that discord.js developers can migrate their bot from discord.js to discord.hy faster, with only a few thing to change.

Documentation Still in Progress.

10.5.0

4 years ago

10.5.1

4 years ago

10.4.1

4 years ago

10.4.2

4 years ago

10.4.0

4 years ago

10.3.0-echo

4 years ago

10.3.0-delta

4 years ago

10.3.0-charlie

4 years ago

10.3.0-alpha

4 years ago

10.3.0-test

4 years ago

10.3.0-test1

4 years ago

10.3.0-beta

4 years ago

10.3.0

4 years ago

10.2.0-charlie

4 years ago

10.2.0-alpha

4 years ago

10.2.0-test

4 years ago

10.2.0-beta

4 years ago

10.2.0

4 years ago

10.1.1

4 years ago

10.1.2

4 years ago

10.1.0

4 years ago

1.3.11-test

4 years ago

1.3.11

4 years ago

1.3.10-bugfix

4 years ago

1.3.10

4 years ago

1.3.9

4 years ago

1.3.8

4 years ago

1.3.7-beta

4 years ago

1.3.7-test

4 years ago

1.3.7

4 years ago

1.3.6

4 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1-homepage

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.8-readme

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.1.13-test

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.12

4 years ago

1.1.11

4 years ago

1.1.10

4 years ago

1.1.16

4 years ago

1.1.15

4 years ago

1.1.14

4 years ago

1.1.13

4 years ago

1.1.18

4 years ago

1.1.17

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.7-beta

4 years ago

1.0.7-1

4 years ago

1.0.7-alpha

4 years ago

1.0.7-security

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago