File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -253,6 +253,7 @@ export type StoreItem = {
253
253
name : string ;
254
254
description : string ;
255
255
} ;
256
+ store_cost : number ;
256
257
} ;
257
258
258
259
export type StoreRotation = {
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import {FOOTER_MESSAGE} from './_components';
4
4
import { data } from '../api-wrapper' ;
5
5
import { dayjs } from '../handlers/dates' ;
6
6
7
+ const sc_emoji = '<:super_credits:1231439957848096828>' ;
8
+
7
9
const command : Command = {
8
10
data : new SlashCommandBuilder ( )
9
11
. setName ( 'superstore' )
@@ -26,7 +28,9 @@ const command: Command = {
26
28
const embeds : EmbedBuilder [ ] = [ ] ;
27
29
for ( const item of SuperStore . items ) {
28
30
const embed = new EmbedBuilder ( )
29
- . setTitle ( `${ item . name } (${ item . type } ${ item . slot } )` )
31
+ . setTitle (
32
+ `${ item . store_cost } ${ sc_emoji } │ ${ item . name } (${ item . type } ${ item . slot } )`
33
+ )
30
34
. setDescription ( item . description )
31
35
. addFields (
32
36
{
Original file line number Diff line number Diff line change @@ -210,7 +210,9 @@ export function majorOrderEmbed(assignment: Assignment) {
210
210
// TODO: task progress here
211
211
embedFields . push ( {
212
212
name : 'Reward' ,
213
- value : `${ amount } x ${ getCurrencyName ( type ) } ` ,
213
+ value :
214
+ `${ amount } x ` +
215
+ ( type === 1 ? '<:warbond_medal:1231439956640010261>' : type . toString ( ) ) ,
214
216
inline : true ,
215
217
} ) ;
216
218
You can’t perform that action at this time.
0 commit comments