File tree Expand file tree Collapse file tree 2 files changed +34
-34
lines changed
src/buttons/gamesActivities Expand file tree Collapse file tree 2 files changed +34
-34
lines changed Original file line number Diff line number Diff line change @@ -160,26 +160,26 @@ const button: Button = {
160
160
} )
161
161
. setTimestamp ( ) ;
162
162
163
- const mainRow = new ActionRowBuilder < MessageActionRowComponentBuilder > ( ) ;
164
- if ( Math . round ( Math . random ( ) * 15 ) < 3 ) {
165
- mainRow . addComponents ( [
166
- new ButtonBuilder ( )
167
- . setLabel ( "Invite" )
168
- . setStyle ( 5 )
169
- . setEmoji ( "1009964111045607525" )
170
- . setURL (
171
- "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands" ,
172
- ) ,
173
- ] ) ;
174
- }
163
+ const mainRow = new ActionRowBuilder < MessageActionRowComponentBuilder > ( ) ;
164
+ if ( Math . round ( Math . random ( ) * 15 ) < 3 ) {
175
165
mainRow . addComponents ( [
176
166
new ButtonBuilder ( )
177
- . setLabel ( "Try Again" )
178
- . setStyle ( 1 )
179
- . setEmoji ( "1073954835533156402" )
180
- . setCustomId ( `higherlower` )
181
- . setDisabled ( guildDb ?. replay != null ? ! guildDb . replay : false ) ,
167
+ . setLabel ( "Invite" )
168
+ . setStyle ( 5 )
169
+ . setEmoji ( "1009964111045607525" )
170
+ . setURL (
171
+ "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands" ,
172
+ ) ,
182
173
] ) ;
174
+ }
175
+ mainRow . addComponents ( [
176
+ new ButtonBuilder ( )
177
+ . setLabel ( "Try Again" )
178
+ . setStyle ( 1 )
179
+ . setEmoji ( "1073954835533156402" )
180
+ . setCustomId ( `higherlower` )
181
+ . setDisabled ( guildDb ?. replay != null ? ! guildDb . replay : false ) ,
182
+ ] ) ;
183
183
184
184
const gameImage = new LOSE ( ) ;
185
185
gameImage . setGame ( game ) ;
Original file line number Diff line number Diff line change @@ -160,26 +160,26 @@ const button: Button = {
160
160
} )
161
161
. setTimestamp ( ) ;
162
162
163
- const mainRow = new ActionRowBuilder < MessageActionRowComponentBuilder > ( ) ;
164
- if ( Math . round ( Math . random ( ) * 15 ) < 3 ) {
165
- mainRow . addComponents ( [
166
- new ButtonBuilder ( )
167
- . setLabel ( "Invite" )
168
- . setStyle ( 5 )
169
- . setEmoji ( "1009964111045607525" )
170
- . setURL (
171
- "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands" ,
172
- ) ,
173
- ] ) ;
174
- }
163
+ const mainRow = new ActionRowBuilder < MessageActionRowComponentBuilder > ( ) ;
164
+ if ( Math . round ( Math . random ( ) * 15 ) < 3 ) {
175
165
mainRow . addComponents ( [
176
166
new ButtonBuilder ( )
177
- . setLabel ( "Try Again" )
178
- . setStyle ( 1 )
179
- . setEmoji ( "1073954835533156402" )
180
- . setCustomId ( `higherlower` )
181
- . setDisabled ( guildDb ?. replay != null ? ! guildDb . replay : false ) ,
167
+ . setLabel ( "Invite" )
168
+ . setStyle ( 5 )
169
+ . setEmoji ( "1009964111045607525" )
170
+ . setURL (
171
+ "https://discord.com/oauth2/authorize?client_id=981649513427111957&permissions=275415247936&scope=bot%20applications.commands" ,
172
+ ) ,
182
173
] ) ;
174
+ }
175
+ mainRow . addComponents ( [
176
+ new ButtonBuilder ( )
177
+ . setLabel ( "Try Again" )
178
+ . setStyle ( 1 )
179
+ . setEmoji ( "1073954835533156402" )
180
+ . setCustomId ( `higherlower` )
181
+ . setDisabled ( guildDb ?. replay != null ? ! guildDb . replay : false ) ,
182
+ ] ) ;
183
183
184
184
const gameImage = new LOSE ( ) ;
185
185
gameImage . setGame ( game ) ;
You can’t perform that action at this time.
0 commit comments