When a location needs to be edited and there are multiple matching locations, the Companion Bot needs to add a reaction like 1️⃣, 2️⃣, 3️⃣ etc. to the PokeNav message. At the moment this somehow fails if the bot has no "message history" permission. It will recieve a HTTP 403 forbidden when adding a reaction, no matter if "add reactions" permission is granted or not.
i tried to add a reaction in a command module directly and this worked without problem, though i used the command context there.
is it just me doing stupid things or is this due to the way Discord defines "being active in a channel"? how to design the companion bot that it is considered "active" in the channel and is thus able to react without message history permission?
i want to lower the permissions to a bare minimum and this is currently the only place this would be needed. hopefully there is a workaround, but i don't know of one. if someone knows what is causing this or has a workaround for me, please let me know!
When a location needs to be edited and there are multiple matching locations, the Companion Bot needs to add a reaction like 1️⃣, 2️⃣, 3️⃣ etc. to the PokeNav message. At the moment this somehow fails if the bot has no "message history" permission. It will recieve a HTTP 403 forbidden when adding a reaction, no matter if "add reactions" permission is granted or not.
i tried to add a reaction in a command module directly and this worked without problem, though i used the command context there.
is it just me doing stupid things or is this due to the way Discord defines "being active in a channel"? how to design the companion bot that it is considered "active" in the channel and is thus able to react without message history permission?
i want to lower the permissions to a bare minimum and this is currently the only place this would be needed. hopefully there is a workaround, but i don't know of one. if someone knows what is causing this or has a workaround for me, please let me know!