Skip to content

Commit

Permalink
Merge formatting
Browse files Browse the repository at this point in the history
Merge formatting into main
  • Loading branch information
github-actions[bot] authored Jul 6, 2024
2 parents b1c27f4 + 98c2df6 commit cfb14e5
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/buttons/gamesActivities/dare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
4 changes: 2 additions & 2 deletions src/buttons/gamesActivities/higher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ const button: Button = {
.setTimestamp();

const mainRow = new ActionRowBuilder<MessageActionRowComponentBuilder>();

const randomValue = Math.round(Math.random() * 15);

const premium = await client.premium.check(interaction?.guildId);

if (!premium.result && randomValue < 3) {
mainRow.addComponents([
new ButtonBuilder()
Expand Down
4 changes: 2 additions & 2 deletions src/buttons/gamesActivities/lower.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ const button: Button = {
.setTimestamp();

const mainRow = new ActionRowBuilder<MessageActionRowComponentBuilder>();

const randomValue = Math.round(Math.random() * 15);

const premium = await client.premium.check(interaction?.guildId);

if (!premium.result && randomValue < 3) {
mainRow.addComponents([
new ButtonBuilder()
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/gamesActivities/neverhaveiever.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const button: Button = {
);

const mainRow = new ActionRowBuilder<MessageActionRowComponentBuilder>();

const randomValue = Math.round(Math.random() * 15);

const premium = await client.premium.check(interaction?.guildId);
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/gamesActivities/random.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/gamesActivities/truth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/gamesActivities/wouldyourather.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const button: Button = {
});

const mainRow = new ActionRowBuilder<MessageActionRowComponentBuilder>();

const randomValue = Math.round(Math.random() * 15);

const premium = await client.premium.check(interaction?.guildId);
Expand Down
4 changes: 2 additions & 2 deletions src/buttons/gamesActivities/wwyd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ const button: Button = {
);

const row = new ActionRowBuilder<MessageActionRowComponentBuilder>();

const randomValue = Math.round(Math.random() * 15);

const premium = await client.premium.check(interaction?.guildId);

if (!premium.result && randomValue < 3) {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/game/dare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
4 changes: 2 additions & 2 deletions src/commands/game/neverhaveiever.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -77,7 +77,7 @@ const command: ChatInputCommand = {
.setURL("https://wouldyoubot.gg/premium"),
]);
}

mainRow.addComponents([
new ButtonBuilder()
.setLabel("New Question")
Expand Down
4 changes: 2 additions & 2 deletions src/commands/game/random.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const command: ChatInputCommand = {
const row = new ActionRowBuilder<MessageActionRowComponentBuilder>();
const row2 = new ActionRowBuilder<MessageActionRowComponentBuilder>();
let components = [];

const premium = await client.premium.check(interaction?.guildId);

const randomValue = Math.round(Math.random() * 15);
Expand All @@ -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];
Expand Down
4 changes: 2 additions & 2 deletions src/commands/game/truth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const command: ChatInputCommand = {
const row = new ActionRowBuilder<MessageActionRowComponentBuilder>();
const row2 = new ActionRowBuilder<MessageActionRowComponentBuilder>();
let components = [];

const premium = await client.premium.check(interaction?.guildId);

const randomValue = Math.round(Math.random() * 15);
Expand All @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion src/commands/game/whatwouldyoudo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const command: ChatInputCommand = {
const row = new ActionRowBuilder<MessageActionRowComponentBuilder>();

const randomValue = Math.round(Math.random() * 15);

const premium = await client.premium.check(interaction?.guildId);

if (!premium.result && randomValue < 3) {
Expand Down

0 comments on commit cfb14e5

Please sign in to comment.