solved typo
This commit is contained in:
1 parent
fb75bb8583
commit
fdf73a53f0
1 file changed
+1
-1
@@ -38,7 +38,7 @@ router.post('/add', async function (req, res) {
|
|||||||
if (req.user) {
|
if (req.user) {
|
||||||
var checkServer = await global.bsl.guilds.cache.get(req.body.serverid);
|
var checkServer = await global.bsl.guilds.cache.get(req.body.serverid);
|
||||||
if (!checkServer) {
|
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 {
|
} else {
|
||||||
let checkGuild = await servers.findOne({ id: checkServer.id });
|
let checkGuild = await servers.findOne({ id: checkServer.id });
|
||||||
if (checkGuild) {
|
if (checkGuild) {
|
||||||
|
|||||||
Reference in new issue
Block a user