From 735af1fe55473733e347a6688b9f4f91a6a88ff9 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Fri, 17 Dec 2021 21:14:45 +0500 Subject: [PATCH] --- commands/General/github.js | 4 ++-- commands/General/invite.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/General/github.js b/commands/General/github.js index da46b6ee..54713f58 100644 --- a/commands/General/github.js +++ b/commands/General/github.js @@ -19,12 +19,12 @@ class Github extends Command { } async run (message, args, data) { - const res = await fetch("https://api.github.com/repos/Androz2091/AtlantaBot"); + const res = await fetch("https://api.github.com/repos/JonnyBro/JaBa-new"); const json = await res.json(); const embed = new Discord.MessageEmbed() .setAuthor(this.client.user.tag, this.client.user.displayAvatarURL({ size: 512, dynamic: true, format: 'png' })) - .setDescription("["+message.translate("general/github:CLICK_HERE")+"](https://github.com/Androz2091/AtlantaBot)") + .setDescription("["+message.translate("general/github:CLICK_HERE")+"](https://github.com/JonnyBro/JaBa-new)") .addField("Stars", json.stargazers_count, true) .addField("Forks", json.forks_count, true) .addField(message.translate("general/github:LANGUAGE"), json.language, true) diff --git a/commands/General/invite.js b/commands/General/invite.js index d958a3f1..67f3db52 100644 --- a/commands/General/invite.js +++ b/commands/General/invite.js @@ -18,7 +18,7 @@ class Invite extends Command { } async run (message, args, data) { - const inviteLink = this.client.config.inviteURL || `https://discordapp.com/oauth2/authorize?client_id=${this.client.user.id}&scope=bot&permissions=*`; + const inviteLink = this.client.config.inviteURL || `https://discordapp.com/oauth2/authorize?client_id=${this.client.user.id}&scope=bot&permissions=8`; const voteURL = this.client.config.voteURL || `https://discordbots.org/bot/${this.client.user.id}/vote`; const supportURL = this.client.config.supportURL || await this.client.functions.supportLink(this.client);