@mondhq/framework
v0.3.2
Published
๐ Mond Framework for modern Discord Bot Development
Downloads
6
Readme
โ ๏ธ This project is still in development and is not ready for production use.
๐ 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
- For general issues/questions, open an issue
- For security issues, please email [email protected]
- For important questions, please email [email protected]
License
As this is an open-source project, support is limited. Please use GitHub Issues for community support or contact [email protected] for very important matters.
โน๏ธ All code in this repository is licensed under the MIT License.