You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Client methods addCommandDir, addCommandFile, and reloadCommands were all deprecated in #29, when the EventListener class was added. These functions now serve only as aliases for addDir, addFile, and reloadFiles respectively, which means that despite their names, they are not actually limited to working on commands, but impact both commands and event listeners loaded from files. These methods can be directly replaced in consumer code.
addCommandDir, addCommandFile, and reloadCommands will be removed in the 3.0.0 release (#94).
The text was updated successfully, but these errors were encountered:
The
Client
methodsaddCommandDir
,addCommandFile
, andreloadCommands
were all deprecated in #29, when theEventListener
class was added. These functions now serve only as aliases foraddDir
,addFile
, andreloadFiles
respectively, which means that despite their names, they are not actually limited to working on commands, but impact both commands and event listeners loaded from files. These methods can be directly replaced in consumer code.addCommandDir
,addCommandFile
, andreloadCommands
will be removed in the 3.0.0 release (#94).The text was updated successfully, but these errors were encountered: