Access inventory when not in trade

These additions will allow the bot to get both its inventory and the user's inventory even when it's not in a trade. I have included examples in the functions' documentations.