18 lines
364 B
C#
18 lines
364 B
C#
using Newtonsoft.Json.Linq;
|
|
using System;
|
|
|
|
namespace Discord.Net.WebSockets
|
|
{
|
|
public class WebSocketEventEventArgs : EventArgs
|
|
{
|
|
public string Type { get; }
|
|
public JToken Payload { get; }
|
|
|
|
internal WebSocketEventEventArgs(string type, JToken data)
|
|
{
|
|
Type = type;
|
|
Payload = data;
|
|
}
|
|
}
|
|
}
|