Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Releases: its4lion/priority-bot

v1.0.9

Choose a tag to compare

@its4lion its4lion released this 14 Aug 20:53

Release v1.0.9: Better Command Management & Improved Responsiveness 🚀

We’re thrilled to announce Priority Bot v1.0.9! This update brings you smarter command locking with persistent settings, plus important tweaks for smoother and more reliable interactions.

🆕 New Features

  • Smarter Command Locking:

    • Toggle with /togglelock: Easily turn command access on or off using the /togglelock command. This gives you more control over when commands are available, perfect for managing your server with flexibility.
    • Persistent Settings: The command lock state (commandsLocked) now persists across bot restarts, so your settings stay intact even after a reboot.
  • Assigned By Tracking: Now, when a priority is assigned to a user, the bot will track and display who assigned the role. This information will be visible in both the /list and /checkplayer commands, providing better transparency and accountability.

🔧 Improvements

  • Enhanced Interaction Handling:
    • Deferred Replies: We’ve added await interaction.deferReply(); to ensure that the bot has enough time to process commands without hitting the "interaction has already been acknowledged" error. This leads to more reliable and smoother interactions.
      • Why It Matters: This fix addresses issues where the bot might send multiple replies or take too long to respond. By deferring the reply, the bot ensures it acknowledges interactions properly and can complete its tasks without error.

🐛 Bug Fixes

  • Commands Lock Toggle Fix: Fixed an issue where the commandsLocked state couldn't be toggled due to it being a constant. Now, the toggle works seamlessly.

  • Interaction Errors: Resolved issues related to delayed or multiple responses during command execution. The use of interaction.deferReply() ensures the bot handles interactions correctly and efficiently.

⚠️ Important Notice

  • Data Storage Location Change: The data.json file, which stores all user priority data, has been moved to the src/data folder for better organization. Please move your existing data.json file to the src/data folder to ensure the bot continues to function correctly with your existing data.

Thank you for choosing Priority Bot! We value your feedback and are excited to see how these updates enhance your experience. Keep the suggestions coming, and enjoy the new features!

v1.0.4

Choose a tag to compare

@its4lion its4lion released this 14 Aug 13:09

Release v1.0.4: Check Player Status and More! 🚀

We're excited to announce a new update to Priority Bot! This release includes some significant enhancements and new features:

New Features:

  • Check Player Status: You can now quickly check the current priority status of any user using the new /checkplayer command. This command displays the role and the remaining time until the priority expires.

Improvements:

  • Enhanced Command Handling: Improved the bot's command handling and error messages to provide better feedback to users.
  • Minor Bug Fixes: Fixed issues related to role management and webhook logging.

Thank you for using Priority Bot! We look forward to your feedback and contributions.

v1.0.1

Choose a tag to compare

@its4lion its4lion released this 10 Aug 13:03

🛠️ Minor Fixes and Improvements

  • Fixed Missing Module Import: Added the necessary import for the https module in main.js to resolve the ReferenceError: https is not defined error during the update check process.
  • Improved Configuration Validation: Enhanced the startup process by adding checks for essential configuration variables (clientId, guildId, token, webhookUrl). The bot now provides clear error messages and stops execution if any of these variables are missing.
  • Code Organization: Streamlined error handling and code organization to improve readability and maintainability.

These fixes ensure that the bot starts reliably and handles missing configurations gracefully.

Full Changelog: v1.0.0...v1.0.1

v1.0.0

Choose a tag to compare

@its4lion its4lion released this 10 Aug 12:40

🎉 Priority Bot v1.0.0 Released! 🚀

We are thrilled to announce the first official release of Priority Bot—your ultimate solution for managing temporary roles in Discord! With this release, server admins can now effortlessly assign and automate priority roles, ensuring efficient server management.

🔥 Highlights of this Release:

  • Temporary Priority Roles: Assign and manage roles with set expiration times using simple slash commands.
  • Automatic Role Expiry: Say goodbye to manual role removals—roles are automatically removed when they expire.
  • Enhanced Security: Command locking allows only specific roles to use bot commands.
  • Real-Time Logging: Keep track of significant actions with webhook logging.
  • Easy Integration: Quick setup with Discord.js and optional connectqueue system for high-traffic servers.

🔗 Get Started and bring next-level efficiency to your Discord server today!

Full Changelog: https://github.com/i6h/priority-bot/commits/v1.0.0