15 lines
394 B
C#
15 lines
394 B
C#
|
using SharpChat.Users.Remote;
|
|||
|
using System;
|
|||
|
|
|||
|
namespace SharpChat.Events {
|
|||
|
[Event(TYPE)]
|
|||
|
public class UserBanRemovedEvent : Event {
|
|||
|
public const string TYPE = @"ban:remove:user";
|
|||
|
|
|||
|
public UserBanRemovedEvent(IRemoteUser remoteUser)
|
|||
|
: base(
|
|||
|
(remoteUser ?? throw new ArgumentNullException(nameof(remoteUser))).UserId
|
|||
|
) { }
|
|||
|
}
|
|||
|
}
|