Hey guys! I've got a friend in #osdev(-offtopic) who has trouble loading bpaste links, so I decided to write him a bot that sends him a notice with an equivalent pastebin.com link if a bpaste link is said in one of the channels. Unfortunately, I have never been able to succefully use the htt protocol succefully, and as a result, httpclient is throwing some weird traceback. Any help would be appreciated.
Here is the source: https://bpaste.net/show/8e6a1333b222
Traceback: https://bpaste.net/show/ac941e924de3 (note that it triggered after saying just "bpaste")
As a side note, if anyone has a better recomendation in terms of what pastebin to use, I am all ears.