MaxEtMoritz / PNavCopy

IITC Addon that copies Portal Names and Locations to Clipboard or sends them to Discord in the format needed by the PokeNav Discord Bot.
ISC License
5 stars 2 forks source link

Automatically send the Command in Discord #1

Closed MaxEtMoritz closed 4 years ago

MaxEtMoritz commented 4 years ago

This would be a very handy feature, but i am not sure how to do it atm. An Idea is to create another userscript for the Discord Web Interface that fills in the Commands and sends them. But how can the two Scripts communicate with each other? Can it be achieved with Cookies? Or is there another solution? Or is there some url like discord://?message="xyz"?

Other Possibilities could be somehow creating a Bot or logging in with OAuth2, but that would for sure require servers or at least an URL ...

MaxEtMoritz commented 4 years ago

Implemented it using a Web Hook. Was quite Simple with the right Tutorial 😉