Interface IBan
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Represents a generic ban object.
public interface IBan
Properties
Reason
Gets the reason why the user is banned if specified.
string Reason { get; }
Property Value
User
Gets the banned user.
IUser User { get; }
Property Value
- IUser
A user that was banned.