From 98c2df610344f132684db123eac45ac9701e0b53 Mon Sep 17 00:00:00 2001 From: mezotv Date: Sat, 6 Jul 2024 23:06:24 +0000 Subject: [PATCH] chore(style): format files --- src/buttons/gamesActivities/dare.ts | 2 +- src/buttons/gamesActivities/higher.ts | 4 ++-- src/buttons/gamesActivities/lower.ts | 4 ++-- src/buttons/gamesActivities/neverhaveiever.ts | 2 +- src/buttons/gamesActivities/random.ts | 2 +- src/buttons/gamesActivities/truth.ts | 2 +- src/buttons/gamesActivities/wouldyourather.ts | 2 +- src/buttons/gamesActivities/wwyd.ts | 4 ++-- src/commands/game/dare.ts | 2 +- src/commands/game/neverhaveiever.ts | 4 ++-- src/commands/game/random.ts | 4 ++-- src/commands/game/truth.ts | 4 ++-- src/commands/game/whatwouldyoudo.ts | 2 +- 13 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/buttons/gamesActivities/dare.ts b/src/buttons/gamesActivities/dare.ts index aa03c703..782b99b6 100644 --- a/src/buttons/gamesActivities/dare.ts +++ b/src/buttons/gamesActivities/dare.ts @@ -82,7 +82,7 @@ const button: Button = { .setStyle(5) .setEmoji("1009964111045607525") .setURL( - "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands" + "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands", ), ]); components = [row, row2]; diff --git a/src/buttons/gamesActivities/higher.ts b/src/buttons/gamesActivities/higher.ts index ab770b28..c1677409 100644 --- a/src/buttons/gamesActivities/higher.ts +++ b/src/buttons/gamesActivities/higher.ts @@ -164,11 +164,11 @@ const button: Button = { .setTimestamp(); const mainRow = new ActionRowBuilder(); - + const randomValue = Math.round(Math.random() * 15); const premium = await client.premium.check(interaction?.guildId); - + if (!premium.result && randomValue < 3) { mainRow.addComponents([ new ButtonBuilder() diff --git a/src/buttons/gamesActivities/lower.ts b/src/buttons/gamesActivities/lower.ts index 00328e41..11ec1dc5 100644 --- a/src/buttons/gamesActivities/lower.ts +++ b/src/buttons/gamesActivities/lower.ts @@ -164,11 +164,11 @@ const button: Button = { .setTimestamp(); const mainRow = new ActionRowBuilder(); - + const randomValue = Math.round(Math.random() * 15); const premium = await client.premium.check(interaction?.guildId); - + if (!premium.result && randomValue < 3) { mainRow.addComponents([ new ButtonBuilder() diff --git a/src/buttons/gamesActivities/neverhaveiever.ts b/src/buttons/gamesActivities/neverhaveiever.ts index 2a6b52f8..9f4e2578 100644 --- a/src/buttons/gamesActivities/neverhaveiever.ts +++ b/src/buttons/gamesActivities/neverhaveiever.ts @@ -68,7 +68,7 @@ const button: Button = { ); const mainRow = new ActionRowBuilder(); - + const randomValue = Math.round(Math.random() * 15); const premium = await client.premium.check(interaction?.guildId); diff --git a/src/buttons/gamesActivities/random.ts b/src/buttons/gamesActivities/random.ts index ce5b4d97..ddbaf938 100644 --- a/src/buttons/gamesActivities/random.ts +++ b/src/buttons/gamesActivities/random.ts @@ -83,7 +83,7 @@ const button: Button = { .setStyle(5) .setEmoji("1009964111045607525") .setURL( - "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands" + "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands", ), ]); components = [row, row2]; diff --git a/src/buttons/gamesActivities/truth.ts b/src/buttons/gamesActivities/truth.ts index e114644b..2a3a388d 100644 --- a/src/buttons/gamesActivities/truth.ts +++ b/src/buttons/gamesActivities/truth.ts @@ -85,7 +85,7 @@ const button: Button = { .setStyle(5) .setEmoji("1009964111045607525") .setURL( - "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands" + "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands", ), ]); components = [row, row2]; diff --git a/src/buttons/gamesActivities/wouldyourather.ts b/src/buttons/gamesActivities/wouldyourather.ts index d183c63f..daa69b96 100644 --- a/src/buttons/gamesActivities/wouldyourather.ts +++ b/src/buttons/gamesActivities/wouldyourather.ts @@ -80,7 +80,7 @@ const button: Button = { }); const mainRow = new ActionRowBuilder(); - + const randomValue = Math.round(Math.random() * 15); const premium = await client.premium.check(interaction?.guildId); diff --git a/src/buttons/gamesActivities/wwyd.ts b/src/buttons/gamesActivities/wwyd.ts index 05802225..3b9bd7ee 100644 --- a/src/buttons/gamesActivities/wwyd.ts +++ b/src/buttons/gamesActivities/wwyd.ts @@ -71,9 +71,9 @@ const button: Button = { ); const row = new ActionRowBuilder(); - + const randomValue = Math.round(Math.random() * 15); - + const premium = await client.premium.check(interaction?.guildId); if (!premium.result && randomValue < 3) { diff --git a/src/commands/game/dare.ts b/src/commands/game/dare.ts index a4d97352..12c9b6b0 100644 --- a/src/commands/game/dare.ts +++ b/src/commands/game/dare.ts @@ -68,7 +68,7 @@ const command: ChatInputCommand = { .setStyle(5) .setEmoji("1009964111045607525") .setURL( - "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands" + "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands", ), ]); components = [row, row2]; diff --git a/src/commands/game/neverhaveiever.ts b/src/commands/game/neverhaveiever.ts index 1e2f2b0a..3993ea29 100644 --- a/src/commands/game/neverhaveiever.ts +++ b/src/commands/game/neverhaveiever.ts @@ -65,7 +65,7 @@ const command: ChatInputCommand = { .setStyle(5) .setEmoji("1009964111045607525") .setURL( - "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands" + "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands", ), ]); } else if (!premium.result && randomValue >= 3 && randomValue < 8) { @@ -77,7 +77,7 @@ const command: ChatInputCommand = { .setURL("https://wouldyoubot.gg/premium"), ]); } - + mainRow.addComponents([ new ButtonBuilder() .setLabel("New Question") diff --git a/src/commands/game/random.ts b/src/commands/game/random.ts index 8b743c2f..2a48cd57 100644 --- a/src/commands/game/random.ts +++ b/src/commands/game/random.ts @@ -54,7 +54,7 @@ const command: ChatInputCommand = { const row = new ActionRowBuilder(); const row2 = new ActionRowBuilder(); let components = []; - + const premium = await client.premium.check(interaction?.guildId); const randomValue = Math.round(Math.random() * 15); @@ -66,7 +66,7 @@ const command: ChatInputCommand = { .setStyle(5) .setEmoji("1009964111045607525") .setURL( - "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands" + "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands", ), ]); components = [row, row2]; diff --git a/src/commands/game/truth.ts b/src/commands/game/truth.ts index ed09da6a..06bdb789 100644 --- a/src/commands/game/truth.ts +++ b/src/commands/game/truth.ts @@ -56,7 +56,7 @@ const command: ChatInputCommand = { const row = new ActionRowBuilder(); const row2 = new ActionRowBuilder(); let components = []; - + const premium = await client.premium.check(interaction?.guildId); const randomValue = Math.round(Math.random() * 15); @@ -68,7 +68,7 @@ const command: ChatInputCommand = { .setStyle(5) .setEmoji("1009964111045607525") .setURL( - "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands" + "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands", ), ]); components = [row, row2]; diff --git a/src/commands/game/whatwouldyoudo.ts b/src/commands/game/whatwouldyoudo.ts index b0039975..28a95ac3 100644 --- a/src/commands/game/whatwouldyoudo.ts +++ b/src/commands/game/whatwouldyoudo.ts @@ -54,7 +54,7 @@ const command: ChatInputCommand = { const row = new ActionRowBuilder(); const randomValue = Math.round(Math.random() * 15); - + const premium = await client.premium.check(interaction?.guildId); if (!premium.result && randomValue < 3) {