Update BotClientService.cs
This commit is contained in:
parent
45fdca1896
commit
f7ad38aa7d
1 changed files with 5 additions and 2 deletions
|
|
@ -92,10 +92,13 @@ namespace SecondBotEvents.Services
|
|||
client.Self.InstantMessage(avatar, message);
|
||||
}
|
||||
|
||||
public bool SendNotecard(string name, string content, UUID sendToUUID)
|
||||
public bool SendNotecard(string name, string content, UUID sendToUUID, bool attachDateTime=true)
|
||||
{
|
||||
bool returnstatus = true;
|
||||
name = name + " " + DateTime.Now;
|
||||
if (attachDateTime == true)
|
||||
{
|
||||
name = name + " " + DateTime.Now;
|
||||
}
|
||||
client.Inventory.RequestCreateItem(
|
||||
client.Inventory.FindFolderForType(AssetType.Notecard),
|
||||
name,
|
||||
|
|
|
|||
Loading…
Reference in a new issue