@mondhq/framework
TypeScript icon, indicating that this package has built-in type declarations

0.3.2ย โ€ขย Publicย โ€ขย Published

โš ๏ธ This project is still in development and is not ready for production use.

Mond


Lines of code npm Downloads GitHub issues GitHub pull requests GitHub GitHub Repo stars npm Version GitHub contributors

๐ŸŒ™ Mond Framework for modern Discord Bot Development

About

Mond is a modern Discord Bot Framework and acts as a wrapper around discord.js. It is designed to be easy to use and to make the development of Discord Bots easier.

Tech Stack

Example Usage

import { Mond, MondEvent, MondCommand, MondEvents } from "@mondhq/framework";
import { config as dotenv } from "dotenv";
import { CommandInteraction } from "discord.js";
dotenv();

const mond = new Mond();

const readyEvent = new MondEvent()
    .setName("myReadyEvent")
    .setEvent(MondEvents.Ready)
    .setHandler((mond: Mond) => {
        mond.logger.info("Bot is Ready!");
        mond.discordjs().user?.setActivity("with Mond ๐ŸŒ™");
    });

const pingCommand = new MondCommand()
    .setName("ping")
    .setDescription("Pong!")
    .setHandler((_mond: Mond, interaction: CommandInteraction) => {
        interaction.reply("Pong!");
    });

mond.registerMultiple(readyEvent, pingCommand);

mond.deploy().then(() => {
    mond.start();
});

Roadmap

  • [x] Commands
  • [x] Events
  • [x] Embeds
  • [ ] Other Interactions
    • [ ] Buttons
    • [ ] Select Menus
    • [ ] Dropdown Actions
    • [ ] Modals
  • [ ] Automatic loading elements from folders
  • [ ] Color Management
  • [ ] Better Formats (Footers, Titles, Messages, etc.)
  • [ ] Message Commands
  • [ ] Tests

How to report issues/questions

License

As this is an open-source project, support is limited. Please use GitHub Issues for community support or contact opensource@blazing.works for very important matters.

โ„น๏ธ All code in this repository is licensed under the MIT License.

Dependencies (4)

Dev Dependencies (9)

Package Sidebar

Install

npm i @mondhq/framework

Weekly Downloads

1

Version

0.3.2

License

MIT

Unpacked Size

31.7 kB

Total Files

24

Last publish

Collaborators

  • officialcrugg