Skip to content

Commit 68acb78

Browse files
show off Session.Say
1 parent fc37a31 commit 68acb78

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docfx/docs/packets.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,16 @@ A @"Archipelago.MultiClient.Net.Packets.SayPacket?text=SayPacket" is used to com
117117
```csharp
118118
public static void SendReleaseCommand()
119119
{
120-
SendSayPacket("!release");
120+
Session.Say("!release");
121121
}
122+
```
122123

124+
or we can do it manually:
125+
```csharp
126+
public static void SendReleaseCommand()
127+
{
128+
SendSayPacket("!release");
129+
}
123130
public static void SendSayPacket(string text)
124131
{
125132
Session.Socket.SendPacket(new SayPacket { Text = text });

0 commit comments

Comments
 (0)