Untested attempt to fix gist loading

gist loading appears to be broken due to changes on github causing a regex to fail; this patch should resolve that, but as I don't have an instance of the bot configured to try it out, it has not yet been tested