Skip to content

Latest commit

 

History

History
53 lines (45 loc) · 1.46 KB

Releases.md

File metadata and controls

53 lines (45 loc) · 1.46 KB

Callisto 🌙


This is what I think Callisto would look like. Made using Deno's Dinosaur Creator.

Version 0.1.2 📝

  • Added <Message>.isMentioned method. This property is used to check if the message is mentioning the bot.
    • Example:
    client.On("message", (message) => {
        if (message.isMentioned()) {
            message.Reply("Hello!");
        }
    });
  • Improved logging for WebSocket events.
  • Updated license notices at the top of each file to reflect the new repository owner change.

Update to this version by running the following command in your terminal:

deno add jsr:@nin0chat/[email protected]

Version 0.1.1 📝

  • Added <Client>.Once method. This method is the same as <Client>.On, but it only runs once.
    • Example:
    client.Once("open", () => {
        Log.Info("Connected to the server!");
    });
  • Added <Client>.Off method. This method is used to remove an event listener.
    • Example:
    const openEvent = () => {
        Log.Info("Connected to the server!");
    };
    
    client.On("open", openEvent);
    // This will remove the event listener.
    client.Off("open", openEvent);
  • Added more consistent documentation to the following files:
    • @/Main.ts
    • @/Utilities/Types.ts
    • @/Utilities/Logger.ts