pajbot/pajbot2-discord

Add a pajbot_url configure option

Closed this issue · 0 comments

Instead of hardcoding forsen's pajbot website into the bot, add a config option to allow users to change it to what they want:

resp, err := http.Get(fmt.Sprintf("https://forsen.tv/api/v1/users/%s?user_input=true", url.PathEscape(target)))