mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: /debug and /help
This commit is contained in:
1 parent
91260aed2a
commit
c37b90caac
11 files changed
+110
-10
No files matched your search
@@ -13,8 +13,8 @@ export default async function getBlitzStarsAccount(
|
||||
name: string,
|
||||
callback: (account: PlayerStatistics) => void,
|
||||
) {
|
||||
function notTracked() {
|
||||
interaction.reply({
|
||||
async function notTracked() {
|
||||
await interaction.reply({
|
||||
embeds: [
|
||||
new EmbedBuilder()
|
||||
.setTitle('No data to display')
|
||||
@@ -22,6 +22,8 @@ export default async function getBlitzStarsAccount(
|
||||
.setColor(NEGATIVE_COLOR),
|
||||
],
|
||||
});
|
||||
|
||||
console.log(`${name} is not tracked by BlitzStars.`);
|
||||
}
|
||||
|
||||
fetch(`https://www.blitzstars.com/api/top/player/${accountId}`)
|
||||
|
||||
Reference in new issue
Block a user