solved typo

This commit is contained in:
CorwinDev committed 2022-08-19 12:46:44 +02:00
1 parent fb75bb8583
commit fdf73a53f0
1 file changed
+1 -1
+1 -1
View File
@@ -38,7 +38,7 @@ router.post('/add', async function (req, res) {
if (req.user) {
var checkServer = await global.bsl.guilds.cache.get(req.body.serverid);
if (!checkServer) {
return res.redirect("https://discord.com/oauth2/authorize?client_id=870001234583621713&permissions=314433&redirect_uri=https%3A%2F%2Fbotscord.xyz%2Fauth%2Fcallback&response_type=code&scope=applications.commands%20bot&guild_id=" + req.body.serverid);
return res.redirect("https://discord.com/oauth2/authorize?client_id=870001234583621713&permissions=314433&redirect_uri=http%3A%2F%2Fbotscord.xyz%2Fauth%2Fcallback&response_type=code&scope=applications.commands%20bot&guild_id=" + req.body.serverid);
} else {
let checkGuild = await servers.findOne({ id: checkServer.id });
if (checkGuild) {