Meowcord Logo
meowcord

Changelog

Stay up to date with the latest changes and improvements to meowcord.

Version 0.1.6
Latest
Big Update

Released on May 24, 2025

Added

  • Interaction Command System: Added interactionCommand method to the Meow class for handling slash commands, buttons, select menus, and modal submits
  • All interaction commands are stored in this.interactionCommands array for easy management and access
  • Single interactionCreate event listener manages all interactions, preventing Discord.js event listener limits
  • SlashCommandsUpdate Module: New SlashCommandsUpdate class for updating global or guild-specific slash commands via REST API
  • updateCommands method accepts commands in JSON format and registers them with Discord API
  • Enhanced Embed Builder: New Embed class derived from discord.js EmbedBuilder with chainable methods
  • Supported methods: title(), description(), color(), footer(), timestamp(), and more
  • Hex color string support (#ABCDEF format) with automatic parsing
  • Improved Command Loading: Added loadInteractionFrom and loadInteractionFromFolder methods
  • Type checking added to distinguish between basic/advanced commands and interaction commands using type: "interaction" field
  • Bot Owner Function: Added getOwner() async function to retrieve bot owner's ApplicationOwner information
  • setPrefix() function for dynamic prefix changes
  • Console logs colorized with chalk for better readability

Fixed

  • Fixed missing REST and Routes imports in SlashCommandsUpdate class
  • Corrected Embed timestamp() method parameter handling
  • Strengthened type checking during command and interaction loading to prevent incorrect loading
  • Interaction event listeners now managed through single listener, eliminating event limit overflow errors
  • Added try-catch blocks to interactionCreate event to prevent bot crashes
  • Temporarily removed bot.on() method due to compatibility issues. Will be re-added in version 0.1.7 with proper implementation.

Performance & Stability

  • Reduced event listener load through centralized interaction command management
  • Optimized REST API usage for more stable slash command updates
  • Improved logging and error handling to reduce unexpected bot shutdown risks
  • Discord.js version 14 compatibility with proper REST and Routes module usage
Version 0.1.4 & 0.1.5

Released on May 23, 2025

Fixed

  • Fixed chalk ESM support error that was causing compatibility issues
  • Improved module loading stability
  • Enhanced error handling for package imports
Version 0.1.3
Minor Update

Released on May 23, 2025

Changed

  • Removed reloadCommands() function
  • Introduced a two-step process for reloading commands:
    • First use clearCommands() to clear all commands
    • Then use loadCommandFromFolder(folderPath) to reload commands

Improved

  • Command loading now clears require cache to ensure code changes are properly reflected
  • basicCommand and advancedCommand now automatically detect if the command function needs the args parameter
  • Improved error handling and logging system for command execution
  • Better filtering of bot messages and non-command messages in the messageCreate event listener
Version 0.1.2
Big Update

Released on May 22, 2025

Added

  • Added a disableLogs option to meowSettings
  • Added new functions for presence management
  • client.presence sets presence
  • client.userStatus sets status (idle, dnd, or online)

Improved

  • Optimized command handling architecture: All basic and advanced commands now use a single messageCreate event listener instead of creating separate listeners for each command
  • Fixed EventEmitter maximum listener warning that occurred when adding more than 10 commands
  • Improved performance and memory usage for bots with many commands

Removed

  • Removed Meowsic functionality
  • Removed some chalk coloring for better compatibility

Fixed

  • Fixed issues with command loading from folders
  • Improved error handling in event listeners
Version 0.1.1

Released on May 22, 2025

Added

  • Added command listing functionality
  • Added ability to reload commands
  • Added support for clearing all commands

Fixed

  • Fixed issues with event handling
  • Improved error messages
Version 0.1.0

Released on May 22, 2025

Initial Release

  • Basic command handling
  • Support for basic and advanced commands
  • Event support with client.on and client.once
  • Discord.js client structures integration
  • Mobile status option

Want to contribute to meowcord?

Check out our GitHub repository