sopel-irc / sopel-github

GitHub plugin for Sopel
Other
3 stars 13 forks source link

formatting: remove `shorten_url()` #106

Closed dgw closed 2 years ago

dgw commented 2 years ago

It hasn't been doing anything useful for a while anyway, since GitHub killed off their git.io shortening service.

Now that we definitely expect the full link, the .gh-hook command will output the authorization URL on its own line, with max_messages set to allow Sopel to split it across multiple messages if needed. Truncation would be very bad in that case.

Resolves #102.

dgw commented 2 years ago

Put this in "production" on the #sopel instance on Libera a couple days ago. We'll let it run a while.