Skip to content

FreeXR/FreeXR-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FreeXR-Bot

FreeXR Discord Bot

v2 changelog:

Changelog

General

  • All commands are now hybrid commands (@bot.hybrid_command()), supporting both prefix and slash usage. Thanks @Anonymous941 !
  • You can now run the bot with -t TOKEN to specify the Discord bot token.
  • Improved error handling:
    • Unauthorized command usage now pings the user and says they are not authorized.
    • Missing required arguments are now reported to the user.
  • Fixed.replies_cmd command (replaced with a single replies hybrid command)

Device Management

  • New persistent device system:
    • devices lists your devices or another user's devices.
    • deviceadd adds a device using a Discord modal form (slash command only).
    • deviceremove <id> removes a device by its per-user index.
    • deviceinfo <user> <id> shows info for a specific device.
    • Devices are stored in devices.json

Don't know what this would be used for... :)

Regex Management

  • Regex block command now uses a modal (slash command only) for adding new regex patterns.
  • Regex list, toggle, and unblock commands now use 1-based indices for user-facing commands (internally adjusted to 0-based). This was one of the earliest bugs present when we first implemented the regex system.

Replies System

  • Removed explicit replies handling from on_message, now handled by the hybrid command.

Miscellaneous

  • Update and hotupdate commands:
    • update pulls the whole repo and restarts the bot.
    • hotupdate pulls the repo and reloads replies without restarting, replacing the old updatereplies command.
  • General code cleanup and refactoring for clarity and maintainability.

Thanks to all of FreeXR supporting, you 667 members all rock <3

About

FreeXR Discord Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages