feat(command): temp. move inventory chat handling to command

This is temporary, and only the `toss` function.
Old functionality is still intact.
New code will eventually move back as a subcommand to replace the old.
This commit is contained in:
jay
2020-12-24 19:41:52 +05:00
parent e9f2080556
commit f2281a7cb3
2 changed files with 46 additions and 24 deletions

View File

@@ -225,4 +225,4 @@ const unload = () => {
bot.off('chat', inventory)
}
module.exports = { load, unload, equipItem, craftItem }
module.exports = { load, unload, equipItem, craftItem, itemByName }