Try showing the username instead
This commit is contained in:
parent
b9c81bd28c
commit
70baa01d32
@ -234,7 +234,12 @@ let scan (ctx : IDiscordContext) =
|
|||||||
let mutable count = 0
|
let mutable count = 0
|
||||||
for t in targets do
|
for t in targets do
|
||||||
count <- count + 1
|
count <- count + 1
|
||||||
sb.AppendLine($"{count}.) **{t.Name}**") |> ignore
|
let result , user = ctx.GetGuild().Members.TryGetValue(t.Id)
|
||||||
|
if result then
|
||||||
|
sb.AppendLine($"{count}.) **{user.Username}**") |> ignore
|
||||||
|
else
|
||||||
|
printfn $"Could not find user {t.Id}"
|
||||||
|
sb.AppendLine($"{count}.) **{t.Name}**") |> ignore
|
||||||
let msg =
|
let msg =
|
||||||
if targets.Length > 0 then
|
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}"
|
$"**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