Added the 'setup help' icons and changed the domain name

This commit is contained in:
ION606
2022-07-31 14:02:17 +03:00
parent e1c028789a
commit c49999071f
4 changed files with 39 additions and 22 deletions
+1 -2
View File
@@ -84,7 +84,6 @@ app.post('/getServer', async (req, res) => {
connection.then((client) => {
const dbo = client.db(id).collection('SETUP');
dbo.find().toArray(async (err, docs) => {
if (err) { return console.error(err); }
const m = new Map();
m.set('Id', id);
@@ -167,7 +166,7 @@ app.get('/', async ({ query }, response) => {
client_secret: clientSecret,
code,
grant_type: 'authorization_code',
redirect_uri: `https://selmer-bot-website.herokuapp.com`,
redirect_uri: `http://selmerbot.com/`,
scope: 'identify',
}),
headers: {