1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-10 03:15:42 +00:00

[ci skip] Remove redundant event from VB sample

This commit is contained in:
Oliver Booth 2022-12-06 20:03:39 +00:00
parent 0abffb669a
commit 26766389ad
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

@ -33,12 +33,4 @@ Module Program
Private Async Sub ClientOnAvatarJoined(sender As Object, args As AvatarJoinedEventArgs) Handles _client.AvatarJoined
Await _client.SendMessageAsync("Hello, " & args.Avatar.Name)
End Sub
Private Async Sub OnChatMessage(sender As Object, args As MessageReceivedEventArgs) Handles _client.MessageReceived
Dim message As String = args.Message.Content
If message.StartsWith("/say ") Then
Await _client.SendMessageAsync(message.Substring(5))
End If
End Sub
End Module