0.3.2 ā€¢ Published 1 year ago

@mondhq/framework v0.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

āš ļø 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

  • Commands
  • Events
  • 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.