shayypy / guilded.py

Asynchronous Guilded API wrapper for Python
https://guildedpy.rtfd.io
Other
135 stars 25 forks source link

Fixed bug where flowbots weren't being identified as members #29

Closed ThomasJRyan closed 2 years ago

ThomasJRyan commented 2 years ago

Explanation

Came across a bug where Flowbots weren't being identified as bots. This is mostly an API issue, as retrieving a team's member list from https://www.guilded.gg/api/teams/{teamid}/members doesn't tag them as a bot for whatever reason.

The solution I came up with was to fix that later in the flowbot discovery section. Whether this is a good approach or not is debatable. The better option would be to request the API to be updated.

Discovery

Was testing to see if bots could activate other bot's commands and it turned out they could image Root cause of the issue was found through that

shayypy commented 2 years ago

Thanks