mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
This commit is contained in:
parent
805d097fbf
commit
735af1fe55
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue