@@ -16,6 +16,7 @@ function getVersion (): string {
1616export async function info ( interaction : CommandInteraction ) {
1717 const application = await interaction . client . application ?. fetch ( )
1818 const approximateUserInstallCount = application ?. approximateUserInstallCount ?? null
19+ const approximateGuildCount = application ?. approximateGuildCount ?? null
1920
2021 const invite = new ButtonBuilder ( )
2122 . setLabel ( 'Invite the bot to your server!' )
@@ -36,9 +37,10 @@ export async function info (interaction: CommandInteraction) {
3637 . setURL ( 'https://discord.com/api/oauth2/authorize?client_id=905979909049028649&permissions=414464724032&scope=bot' )
3738 . setThumbnail ( 'https://starmanthegamer.com/icon.png' )
3839 . addFields (
39- { name : 'Version' , value : `Currently running version: ${ getVersion ( ) } ` } ,
40- { name : 'Installs' , value : approximateUserInstallCount ? `${ approximateUserInstallCount . toLocaleString ( ) } users` : 'Unknown' , inline : true } ,
41- { name : 'Contributed by:' , value : 'baggy, DevPixels, Index, InsertSoda, and many more!' , inline : true }
40+ { name : 'Version' , value : `v${ getVersion ( ) } ` , inline : true } ,
41+ { name : 'User Installs' , value : approximateUserInstallCount ? `${ approximateUserInstallCount . toLocaleString ( ) } users` : 'Unknown' , inline : true } ,
42+ { name : 'Server Installs' , value : approximateGuildCount ? `${ approximateGuildCount . toLocaleString ( ) } servers` : 'Unknown' , inline : true } ,
43+ { name : 'Contributed by:' , value : 'baggy, DevPixels, Index, InsertSoda, and many more!' , inline : false }
4244 )
4345 . setFooter ( { text : 'Thank you for using Polytoria Community Bot!' , iconURL : 'https://starmanthegamer.com/icon.png' } )
4446
0 commit comments