File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -70,33 +70,23 @@ const getCoinLeaderboardEmbed = async (
70
70
. join ( '\\_' )
71
71
. split ( '`' )
72
72
. join ( '\\`' ) ;
73
- console . log ( "RANK:" , rank ) ;
74
- console . log ( "Position:" , position ) ;
75
- console . log ( "Previous Balance:" , previousBalance ) ;
76
- console . log ( "offset:" , offset ) ;
77
- console . log ( "User Coin Entry Balance:" , userCoinEntry . balance ) ;
78
73
const userCoinEntryText = `${ rank } \\. ${ cleanUserTag } - ${
79
74
userCoinEntry . balance
80
75
} ${ getCoinEmoji ( ) } `;
81
- console . log ( "userCoinEntry is: " , userCoinEntryText ) ;
82
76
leaderboardArray . push ( userCoinEntryText ) ;
83
77
}
84
78
}
85
79
const leaderboardText = leaderboardArray . join ( '\n' ) ;
86
- console . log ( "leaderboardtext is: " , leaderboardText ) ;
87
80
const leaderboardEmbed = new EmbedBuilder ( )
88
81
. setColor ( DEFAULT_EMBED_COLOUR )
89
82
. setTitle ( 'Codey Coin Leaderboard' )
90
83
. setDescription ( leaderboardText ) ;
91
-
92
- console . log ( "leaderboard embed is: " , leaderboardEmbed ) ;
93
84
leaderboardEmbed . addFields ( [
94
85
{
95
86
name : 'Your Position' ,
96
87
value : `You are currently **#${ position } ** in the leaderboard with ${ userBalance } ${ getCoinEmoji ( ) } .` ,
97
88
} ,
98
89
] ) ;
99
- console . log ( "leaderboard embed is: " , leaderboardEmbed ) ;
100
90
return leaderboardEmbed ;
101
91
} ;
102
92
You can’t perform that action at this time.
0 commit comments