Class RestApplicationCommand
Inheritance
RestApplicationCommand
Assembly: Discord.Net.Rest.dll
Syntax
public abstract class RestApplicationCommand : RestEntity<ulong>, IEntity<ulong>, IApplicationCommand, ISnowflakeEntity, IEntity<ulong>, IDeletable
Properties
|
Improve this Doc
View Source
ApplicationId
Declaration
public ulong ApplicationId { get; }
Property Value
|
Improve this Doc
View Source
CreatedAt
Declaration
public DateTimeOffset CreatedAt { get; }
Property Value
Type |
Description |
DateTimeOffset |
|
|
Improve this Doc
View Source
DefaultMemberPermissions
Declaration
public GuildPermissions DefaultMemberPermissions { get; }
Property Value
|
Improve this Doc
View Source
Description
Declaration
public string Description { get; }
Property Value
|
Improve this Doc
View Source
IsDefaultPermission
Declaration
public bool IsDefaultPermission { get; }
Property Value
|
Improve this Doc
View Source
IsEnabledInDm
Declaration
public bool IsEnabledInDm { get; }
Property Value
|
Improve this Doc
View Source
Name
Declaration
public string Name { get; }
Property Value
|
Improve this Doc
View Source
Options
Gets a collection of options for this command.
Declaration
public IReadOnlyCollection<RestApplicationCommandOption> Options { get; }
Property Value
|
Improve this Doc
View Source
Type
Gets the type of the command.
Declaration
public ApplicationCommandType Type { get; }
Property Value
Methods
|
Improve this Doc
View Source
DeleteAsync(RequestOptions)
Declaration
public abstract Task DeleteAsync(RequestOptions options = null)
Parameters
Returns
|
Improve this Doc
View Source
ModifyAsync(Action<ApplicationCommandProperties>, RequestOptions)
Declaration
public Task ModifyAsync(Action<ApplicationCommandProperties> func, RequestOptions options = null)
Parameters
Returns
|
Improve this Doc
View Source
ModifyAsync<TArg>(Action<TArg>, RequestOptions)
Declaration
public abstract Task ModifyAsync<TArg>(Action<TArg> func, RequestOptions options = null)
where TArg : ApplicationCommandProperties
Parameters
Returns
Type Parameters
Implements