Highrise-js-sdk v2.1.0 πŸŽ‰

Hello everyone, Highrise JS SDK version 2.1.0 is now available! :tada:

In this update, we have made modifications to several methods and events, expanded the range of available methods, and introduced new events and direct message controls.

Key points of this update:

  • Direct Message Support
  • User Avatar
  • Improved Await Events
  • Readable Outputs
  • Voice Chat and Wallet

To update the package, please follow these commands:

  1. Run npm uninstall highrise-js-sdk
  2. Run npm install highrise-js-sdk@latest

Example Usage:

const eventsOfIntereset = ['ready', 'messages', 'directMessageCreate']
const bot = new Highrise({ events: eventsOfIntereset });

bot.on('directMessageCreate', (user, data) => {
  // Process the direct message event
  console.log('Direct message received');
  console.log('User ID:', user);
  console.log('Conversation ID:', data.id);
  console.log('Is New:', data.isNew);

  // Perform additional actions or responses based on the message
  // Example: Send a reply
  bot.direct.send(data.id, 'Thank you for your message!');
});

bot.login(token, roomID)

To learn more about the update, including detailed examples and explanations, click here.
Thank you, and if you have any further questions or need assistance, feel free to reach out to us :slightly_smiling_face:.

3 Likes

could you add the explanation to you documentation

2 Likes

Yes, indeed, I can add it. However, I’ve been extremely busy with various tasks lately. Rest assured, I’m doing my best to keep you all updated. Soon, I will enhance the documentation by including more examples and methods, along with tutorial videos. In the meantime, if you have any questions about any code or method, feel free to ask in the bot-api channel on the Highrise Discord Server :blush:.

Let me know if there’s anything else I can assist you with!

1 Like