Show names instead of Ids for scans
This commit is contained in:
		
							parent
							
								
									a461d563fa
								
							
						
					
					
						commit
						0b403191f5
					
				| @ -7,7 +7,7 @@ open DSharpPlus.Entities | ||||
| open DSharpPlus.SlashCommands | ||||
| open Degenz | ||||
| open Emzi0767.Utilities | ||||
| //open Degenz.SlotMachine | ||||
| open Degenz.SlotMachine | ||||
| 
 | ||||
| type EmptyGlobalCommandToAvoidFamousDuplicateSlashCommandsBug() = inherit ApplicationCommandModule () | ||||
| 
 | ||||
|  | ||||
| @ -234,7 +234,7 @@ let scan (ctx : IDiscordContext) = | ||||
|         let mutable count = 0 | ||||
|         for t in targets do | ||||
|             count <- count + 1 | ||||
|             sb.AppendLine($"{count}.) <@{t.Id}>") |> ignore | ||||
|             sb.AppendLine($"{count}.) {t.Name}") |> ignore | ||||
|         let msg = | ||||
|             if targets.Length > 0 then | ||||
|                 $"**Targets Connected to the Network:**\n\n These are 5 targets you can attempt to hack right now... let's hope they're not shielded!\n\n{sb}" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user