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:
parent
0abffb669a
commit
26766389ad
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user