Skip to content

harmonix-js/core

Repository files navigation

Harmonix banner

Version Downloads License Website Discord

Harmonix

Open-source framework to make Discord bots.

⚡ Quick Start

This will set up a starter project with all the required files and dependencies:

npx @harmonix-js/cli init <my-bot>

🤖 Development

Harmonix offers a straightforward, user-friendly, and robust solution for writing commands naturally. It automates all repetitive tasks, allowing you to concentrate on developing your bot features with assurance.

Example of a commands/ping.ts:

import { defineCommand } from '@harmonix-js/core'

export default defineCommand(
  {
    description: 'Ping command'
  },
  (client, interaction) => {
    interaction.reply('Pong!')
  }
)

📖 Documentation

Check out the Harmonix documentation to enhance your skills. It's an excellent resource for deepening your understanding of the framework, covering a large bunch of topics.

🤝 Contribution

We welcome your support to enhance Harmonix. To do that you can report bugs or give us feedback and ideas.

⚖️ License

Published under the MIT license.

🌱 Contributors