hackclub / bag

A Slack based RPG system!
https://bag.hackclub.com
7 stars 2 forks source link

Allow bots to have their own inventories #33

Open rivques opened 2 weeks ago

rivques commented 2 weeks ago

This is mostly doable - we just need to adjust the logic in the trading api implementation

rivques commented 3 days ago

Right now this is possible, but hacky, and requires direct access to the DB. You have to go to the Slack bot's identity and add its Bag app id to its specific apps, which authorizes it to use its own user id as a source in makeOffer.

rivques commented 3 days ago

Really we should just do this automatically when you run /bot.