mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-29 21:49:50 +01:00
test: logging
This commit is contained in:
1 parent
799afe3de9
commit
560f033a78
1 file changed
+10
-3
@@ -20,7 +20,7 @@ export const CLANS = {
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
inProduction: true,
|
inProduction: true,
|
||||||
inDevelopment: true,
|
inDevelopment: false,
|
||||||
inPublic: false,
|
inPublic: false,
|
||||||
|
|
||||||
command: new SlashCommandBuilder()
|
command: new SlashCommandBuilder()
|
||||||
@@ -122,7 +122,8 @@ export default {
|
|||||||
|
|
||||||
const eligible = issues.length === 0;
|
const eligible = issues.length === 0;
|
||||||
|
|
||||||
await interaction.reply({
|
await interaction
|
||||||
|
.reply({
|
||||||
embeds: [
|
embeds: [
|
||||||
poweredByBlitzStars(
|
poweredByBlitzStars(
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
@@ -139,12 +140,18 @@ export default {
|
|||||||
: `${data.nickname}'s shortcomings for ${
|
: `${data.nickname}'s shortcomings for ${
|
||||||
CLANS[clan].name
|
CLANS[clan].name
|
||||||
} (${
|
} (${
|
||||||
clan === 'sklld' ? '30 days stats' : 'career stats'
|
clan === 'sklld'
|
||||||
|
? '30 days stats'
|
||||||
|
: 'career stats'
|
||||||
}):\n\n${issues.join('\n')}`
|
}):\n\n${issues.join('\n')}`
|
||||||
}\n\n${blitzLinks(data)}`,
|
}\n\n${blitzLinks(data)}`,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
})
|
||||||
|
.catch((e) => {
|
||||||
|
console.log('nooooooooooooooooooooooooo');
|
||||||
|
console.log(e);
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
|
|||||||
Reference in new issue
Block a user