Hey everyone! 4 months and 438 files later, ESM has been migrated over to Discord Slash Commands. This means that ESM will no longer respond to any messages outside of the Slash Commands.
#attributes
and #to_h
to various Discordrb
classesModule#attr_predicate
for defining ?
methods easilyESM::Command::Arguments
that holds the command's arguments and valuesESM::User::Ephemeral
to represent non-user objects (like steam uids)ESM::Command::Base::Checks
from a class to a moduleESM::Command::Base::Permissions
from a class to a moduleInquirer
class for better performance over ActiveSupport::StringInquirer
and ActiveSupport::ArrayInquirer
current_user
and target_user
are now consistent and both return an instance of ESM::User
ESM::CommandCache
in favor of ESM::CommandDetail
ESM::Notifications
whitelists
for allowlists
Zeitwerk
to better clean up all file loadingESM::Command::Argument::Parser
and ESM::Command::ArgumentContainer
ESM::Command::Argument
to work with slash command arguments and improved it significantly/my aliases
NEW
!mode
/community admin change_mode
!whois
/community admin find_player
!reset_cooldown
/community admin reset_cooldown
!id
/community id
!servers
/community servers
!help
/help
!preferences
/my preferences
!requests
/my requests
!steam_uid
/my steam_uid
!birb
/pictures birb
!doggo
/pictures doggo
!meow
/pictures meow
!snek
/pictures snek
!register
/register
!accept
/request accept
!decline
/request decline
!broadcast
/server admin broadcast
!sqf
/server admin execute_code
!info
/server admin find
!player
/server admin modify_player
!reset
/server admin reset_player
!logs
/server admin search_logs
!server
/server details
!gamble
/server gamble
!me
/server my player
!territories
/server my territories
!reward
/server reward
!stuck
/server stuck
!uptime
/server uptime
!add
/territory add_player
!server_territories
/territory admin list
!restore
/territory admin restore
!demote
/territory demote_player
!pay
/territory pay
!promote
/territory promote_player
!remove
/territory remove_player
!set_id
/territory set_id
!upgrade
/territory upgrade
No changes this update