@@ -17,7 +17,7 @@ class UserCommand extends Command {
1717 super ( context , {
1818 // Any Command options you want here
1919 name : 'update-check' ,
20- description : 'List mods for 1.21.7 '
20+ description : 'List mods for 1.21.9 '
2121 } ) ;
2222 }
2323
@@ -46,21 +46,21 @@ class UserCommand extends Command {
4646 if ( mod . source === 'curseforge' ) {
4747 try {
4848 const addon = await cf . get_mod ( mod . id ) ;
49- if ( addon . latestFiles [ 0 ] . gameVersions [ 0 ] . includes ( '1.21.7 ' ) ) {
50- mod_status . push ( `✅- Mod ${ addon . name } has a 1.21.7 version` ) ;
49+ if ( addon . latestFiles [ 0 ] . gameVersions [ 0 ] . includes ( '1.21.9 ' ) ) {
50+ mod_status . push ( `✅- Mod ${ addon . name } has a 1.21.9 version` ) ;
5151 } else {
52- mod_status . push ( `❌-Mod ${ addon . name } does not have a 1.21.7 version` ) ;
52+ mod_status . push ( `❌-Mod ${ addon . name } does not have a 1.21.9 version` ) ;
5353 }
5454 } catch ( err ) {
5555 console . error ( err ) ;
5656 }
5757 } else if ( mod . source === 'modrinth' ) {
5858 try {
5959 const data = await client . getProject ( mod . id ) ;
60- if ( data . game_versions . includes ( '1.21.7 ' ) ) {
61- mod_status . push ( `✅- Mod ${ data . title } has a 1.21.7 version` ) ;
60+ if ( data . game_versions . includes ( '1.21.9 ' ) ) {
61+ mod_status . push ( `✅- Mod ${ data . title } has a 1.21.9 version` ) ;
6262 } else {
63- mod_status . push ( `❌- Mod ${ data . title } does not have a 1.21.7 version` ) ;
63+ mod_status . push ( `❌- Mod ${ data . title } does not have a 1.21.9 version` ) ;
6464 }
6565 } catch ( err ) {
6666 console . error ( err ) ;
@@ -76,7 +76,7 @@ class UserCommand extends Command {
7676 mod_status . sort ( ) ;
7777
7878 // Create an embed with the mod status messages
79- const embed = new EmbedBuilder ( ) . setTitle ( 'Mods for 1.21.7 ' ) . setDescription ( `${ mod_status . join ( '\n' ) } ` ) ;
79+ const embed = new EmbedBuilder ( ) . setTitle ( 'Mods for 1.21.9 ' ) . setDescription ( `${ mod_status . join ( '\n' ) } ` ) ;
8080
8181 // Reply with the embed
8282 await interaction . reply ( { embeds : [ embed ] } ) ;
0 commit comments