Luski.Net/Luski.net/Structures/Public/SocketAppUser.cs
JacobTech 9f641e7429 Public Servers.
Added a bunch of API calls to use in public servers.
2023-08-21 10:58:17 -04:00

17 lines
459 B
C#
Executable File

using System.Threading;
using System.Threading.Tasks;
using Luski.net.Enums;
namespace Luski.net.Structures.Public;
public class SocketAppUser : SocketUser
{
public long SelectedChannel { get; init; } = default!;
public async Task<SocketChannel> GetSelectedChannel(CancellationToken Token)
{
return await Server.GetChannel<SocketChannel>(SelectedChannel, Token);
}
public string Username { get; init; } = default!;
}