Improve /setupinfo
This commit is contained in:
		
							parent
							
								
									02a5093a8b
								
							
						
					
					
						commit
						29191e2c05
					
				| @ -238,16 +238,11 @@ const functions = { | |||||||
| 		if (thisGuildInfo != undefined) { | 		if (thisGuildInfo != undefined) { | ||||||
| 			let thisGuildInfoString = ""; | 			let thisGuildInfoString = ""; | ||||||
| 			if (thisGuildInfo.treeMessageId != "") { | 			if (thisGuildInfo.treeMessageId != "") { | ||||||
| 				thisGuildInfoString += `Tree Message ID: ${thisGuildInfo.treeMessageId}\n`; | 				thisGuildInfoString += `Tree Message: https://discord.com/channels/${guildId}/${thisGuildInfo.treeChannelId}/${thisGuildInfo.treeMessageId}\n`; | ||||||
| 			} | 
 | ||||||
| 			if (thisGuildInfo.treeChannelId != "") { |  | ||||||
| 				thisGuildInfoString += `Tree Channel ID: ${thisGuildInfo.treeChannelId}\n`; |  | ||||||
| 			} | 			} | ||||||
| 			if (thisGuildInfo.rankMessageId != "") { | 			if (thisGuildInfo.rankMessageId != "") { | ||||||
| 				thisGuildInfoString += `Rank Message ID: ${thisGuildInfo.rankMessageId}\n`; | 				thisGuildInfoString += `Rank Message: https://discord.com/channels/${guildId}/${thisGuildInfo.rankChannelId}/${thisGuildInfo.rankMessageId}\n`; | ||||||
| 			} |  | ||||||
| 			if (thisGuildInfo.rankChannelId != "") { |  | ||||||
| 				thisGuildInfoString += `Rank Channel ID: ${thisGuildInfo.rankChannelId}\n`; |  | ||||||
| 			} | 			} | ||||||
| 			if (thisGuildInfo.treeHeight != "") { | 			if (thisGuildInfo.treeHeight != "") { | ||||||
| 				thisGuildInfoString += `Tree Height: ${thisGuildInfo.treeHeight}\n`; | 				thisGuildInfoString += `Tree Height: ${thisGuildInfo.treeHeight}\n`; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user