Features
• Use 1 bot for all your clusters
• Allow specific buttons per panel
• logs what admin used what button
• Allows multiple spam channel support for asm clusters
• Custom configurable panel messages
• config panel details for ease of creation
	
	
		
			
	
	
	
	
	
		
		
	
					
					
	
		
	
					
					
					• Use 1 bot for all your clusters
• Allow specific buttons per panel
• logs what admin used what button
• Allows multiple spam channel support for asm clusters
• Custom configurable panel messages
• config panel details for ease of creation
		JavaScript:
	
	module.exports = {
    token: '', // your discord bot token
    licenseKey: '', //Your SH ASM Panels license Key
    guildId: '', // Discord server ID
    clusters: [
        {
            name: 'primal_fear', // Name for the sub cluster eg, primal_fear or eternal
            asmPrefix: 'asm!', // prefix set in asm global settings
            clusterName: 'shadowhunter', // Your Cluster name
            panels: [
                {
                    uniqueName: 'whole_cluster',
                    mapName: 'The Whole Cluster',
                    mapAlias: 'all', // map alias, found in global or the one set in discord section in asm
                    asmSpamChannel: '', //spam channel set under discord section in asm
                    logChannel: '', // where you would like logs to go to
                    allowedRoles: [], // roles allowed to use this, can be blank if using discord to allow view of channel
                    allowedFunctions: ['info', 'status', 'backup', 'start', 'update', 'shutdown', 'restart', 'stop'],
                    messages: {
                        /**
                         * Variables
                         * {clusterName} - The name of the cluster
                         * {mapName} - The name of the map
                         * {mapAlias} - The alias of the map
                         * {asmSpamChannel} - The ASM spam channel
                         * {interactionUser} - The user who used the command
                         * {allowedFunctions} - The allowed functions for this panel
                         */
                        panel_embed: {
                            title: 'Control {clusterName} {mapName}',
                            description: 'Use the buttons below to control the {mapName} server on {clusterName}',
                            color: '#00ff00',
                            footer: '{clusterName} Server Controller Panel',
                        },
                        successMessage: 'Your command for {clusterName} on map {mapName} has been sent to {asmSpamChannel}',
                        logMessage: '{interactionUser} used {command} for {clusterName} on {mapName} and was sent to spam channel {asmSpamChannel}',
                    },
                },
                {
                    uniqueName: 'aberration',
                    mapName: 'Aberration',
                    mapAlias: 'aberration', // map alias, found in global or the one set in discord section in asm
                    asmSpamChannel: '', //spam channel set under discord section in asm
                    logChannel: '', // where you would like logs to go to
                    allowedRoles: [], // roles allowed to use this, can be blank if using discord to allow view of channel
                    allowedFunctions: ['info', 'status', 'backup', 'start', 'update', 'shutdown', 'restart', 'stop'],
                    messages: {
                        /**
                         * Variables
                         * {clusterName} - The name of the cluster
                         * {mapName} - The name of the map
                         * {mapAlias} - The alias of the map
                         * {asmSpamChannel} - The ASM spam channel
                         * {interactionUser} - The user who used the command
                         * {allowedFunctions} - The allowed functions for this panel
                         */
                        panel_embed: {
                            title: 'Control {clusterName} {mapName}',
                            description: 'Use the buttons below to control the {mapName} server on {clusterName}',
                            color: '#00ff00',
                            footer: '{clusterName} Server Controller Panel',
                        },
                        successMessage: 'Your command for {clusterName} on map {mapName} has been sent to {asmSpamChannel}',
                        logMessage: '{interactionUser} used {command} for {clusterName} on {mapName} and was sent to spam channel {asmSpamChannel}',
                    },
                },
            ],
        },
        {
            name: 'eternal',
            asmPrefix: 'asm!',
            clusterName: 'Raptors',
            panels: [
                {
                    uniqueName: 'whole_cluster',
                    mapName: 'The Whole Cluster',
                    mapAlias: 'all', // map alias, found in global or the one set in discord section in asm
                    asmSpamChannel: '', //spam channel set under discord section in asm
                    logChannel: '', // where you would like logs to go to
                    allowedRoles: [], // roles allowed to use this, can be blank if using discord to allow view of channel
                    allowedFunctions: ['info', 'status', 'backup', 'start', 'update', 'shutdown', 'restart', 'stop'],
                    messages: {
                        /**
                         * Variables
                         * {clusterName} - The name of the cluster
                         * {mapName} - The name of the map
                         * {mapAlias} - The alias of the map
                         * {asmSpamChannel} - The ASM spam channel
                         * {interactionUser} - The user who used the command
                         * {allowedFunctions} - The allowed functions for this panel
                         */
                        panel_embed: {
                            title: 'Control {clusterName} {mapName}',
                            description: 'Use the buttons below to control the {mapName} server on {clusterName}',
                            color: '#00ff00',
                            footer: '{clusterName} Server Controller Panel',
                        },
                        successMessage: 'Your command for {clusterName} on map {mapName} has been sent to {asmSpamChannel}',
                        logMessage: '{interactionUser} used {command} for {clusterName} on {mapName} and was sent to spam channel {asmSpamChannel}',
                    },
                },
                {
                    uniqueName: 'aberration',
                    mapName: 'Aberration',
                    mapAlias: 'aberration', // map alias, found in global or the one set in discord section in asm
                    asmSpamChannel: '', //spam channel set under discord section in asm
                    logChannel: '', // where you would like logs to go to
                    allowedRoles: [], // roles allowed to use this, can be blank if using discord to allow view of channel
                    allowedFunctions: ['info', 'status', 'backup', 'start', 'update', 'shutdown', 'restart', 'stop'],
                    messages: {
                        /**
                         * Variables
                         * {clusterName} - The name of the cluster
                         * {mapName} - The name of the map
                         * {mapAlias} - The alias of the map
                         * {asmSpamChannel} - The ASM spam channel
                         * {interactionUser} - The user who used the command
                         * {allowedFunctions} - The allowed functions for this panel
                         */
                        panel_embed: {
                            title: 'Control {clusterName} {mapName}',
                            description: 'Use the buttons below to control the {mapName} server on {clusterName}',
                            color: '#00ff00',
                            footer: '{clusterName} Server Controller Panel',
                        },
                        successMessage: 'Your command for {clusterName} on map {mapName} has been sent to {asmSpamChannel}',
                        logMessage: '{interactionUser} used {command} for {clusterName} on {mapName} and was sent to spam channel {asmSpamChannel}',
                    },
                },
            ],
        },
    ],
}; 
	 
	





