Show names instead of Ids for scans

This commit is contained in:
Joseph Ferano 2022-04-14 17:47:05 +07:00
parent a461d563fa
commit 0b403191f5
2 changed files with 2 additions and 2 deletions

View File

@ -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 ()

View File

@ -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}"