Karitham / WaifuBot

discord waifu / husbando gacha bot
MIT License
38 stars 11 forks source link

[Feature Request] - Trading API #83

Open BellezaEmporium opened 2 years ago

BellezaEmporium commented 2 years ago

Is your feature request related to a problem? Please describe. No.

Describe the solution you'd like With the potential of this bot, I think it'll be cool to have an token-accessible API to trade with other people using a 3rd party app

This could also permit you to update WaifuGUI, including a trading system inside the website, with certain conditions.

Technical Explanation Consider 2 potential traders named User A and User B. User A found in User B a waifu that interests him.

Using his Discord token, User A sends a trading request to User B via the trading API. WaifuBot, with a webhook, intercepts the request and sends a DM to User B, telling that User A wants to trade with him.

User B, if the demand is accepted, will open the discussions. User A and User B (inside the WaifuGUI website as an example), will discuss about the number of waifus to trade, and trading will be done using the same system. If the request is rejected, it automatically sends a DM to User A telling that the demand was rejected.

This also prevents the use of Discord for trading, and opens the trading solutions outside of the server's zone. (imagine two people that are from different servers but do use WaifuBot, it can lead to interesting things)