-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHANGELOG: - Updated slash commands categories. - Added donate command
- Loading branch information
Showing
11 changed files
with
44 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"prefix": ".corona", | ||
"version": "2.0 PRODUCTION", | ||
"version": "2.1 PRODUCTION", | ||
"inviteLink": "https://corona-bot.eu/invite", | ||
"APILink": "https://corona.lmao.ninja/", | ||
"embedColor": "#FF6347", | ||
"coronaLogo": "https://ourghtfu.sirv.com/Images/coronabot2.png", | ||
"lastUpdate": "31.6.2021" | ||
"lastUpdate": "20.7.2021" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
const { MessageEmbed } = require('discord.js'); | ||
const { embedColor } = require('../../config.json'); | ||
|
||
module.exports = { | ||
slash: true, | ||
testOnly: false, | ||
category: 'Misc', | ||
description: "If you want to support bot financially.", | ||
callback: async ({}) => { | ||
const donationEmbed = new MessageEmbed() | ||
.setColor(embedColor) | ||
.setTitle('CoronaBot Donation:') | ||
.addFields( | ||
{ name: "If you want to support our development and server cost you can use this donation link. Thank you very much if you do <3", value: "https://ko-fi.com/kankaj" } | ||
) | ||
return donationEmbed; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ const { embedColor } = require('../../config.json'); | |
module.exports = { | ||
slash: true, | ||
testOnly: false, | ||
category: 'Help', | ||
description: "All the important commands for the bot!", | ||
callback: async ({ }) => { | ||
const embedHelp = new MessageEmbed() | ||
|
@@ -16,7 +17,8 @@ module.exports = { | |
{ name: 'Shows link to invite bot on your server:', value: '/invite', inline: false }, | ||
{ name: 'Shows number of servers we are on:', value: '/servers', inline: false }, | ||
{ name: 'Shows debug info:', value: '/debug', inline: false }, | ||
{ name: 'Shows authors of the bot:', value: '/authors', inline: false } | ||
{ name: 'Shows authors of the bot:', value: '/authors', inline: false }, | ||
{ name: 'If you want to support bot financially:', value: '/donate', inline: false } | ||
) | ||
.setFooter('In case of any problem please contact me ([email protected] or kankaj#2731)', 'https://ourghtfu.sirv.com/Images/czechIcon.png'); | ||
return embedHelp; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters