adding info about basic auth
This commit is contained in:
@ -9,6 +9,9 @@ module.exports = {
|
||||
run: async (client, interaction) => {
|
||||
const file = './cache/' + interaction.user.id
|
||||
|
||||
// The Auth stuff here is internal to my set up only and may be removed if you use this bot.
|
||||
// My chat GUI for Serge is locked down by basic auth in apache to safe guard from
|
||||
// Users issuing mulitple jobs at a time until there is some built in way to do so.
|
||||
unirest
|
||||
.post(`https://${process.env.PUBLIC_URL}/api/chat`)
|
||||
.headers({ 'Accept': 'application/json', 'Content-Type': 'application/json' })
|
||||
|
Reference in New Issue
Block a user