unicord

Unicord - A Library that simplifies coding to make Discord Bots with ease!

Usage no npm install needed!

<script type="module">
  import unicord from 'https://cdn.skypack.dev/unicord';
</script>

README


unicord.js

Unicord

NPM Version NPM Downloads

About

Unicord is a Library that simplifies coding to make Discord Bots with ease.

  • Interaction Commands Support
  • Optimized and customizable
  • 500+ functions available

Installation

Node.JS 12.11.0 or newer is required.

npm install unicord

Setting up

const unicordjs = require("unicord")

const bot = new unicord.Bot({
token: "TOKEN",
prefix: "PREFIX",
intents: "all"
})

bot.onMessage() //Allows to execute Commands

bot.command({
name: "ping", //Trigger name (command name)
code: `Pong! $pingms` //Code inside of string
})

bot.readyCommand({
    channel: "", //Optional channnel ID
    code: `$log[Ready on $userTag[$clientID]]`
})

Optional packages

  • tweetnacl for music encryption (npm install tweetnacl)
  • @discordjs/opus for encoding, primarily used for Music (npm install @discordjs/opus)

Links

Contributing

Please read Contributing