Class DiscordMessageConverter
Represents a discord message converter.
Inheritance
System.Object
DiscordMessageConverter
Namespace: DisCatSharp.CommandsNext.Converters
Assembly: DisCatSharp.CommandsNext.dll
Syntax
public class DiscordMessageConverter : IArgumentConverter<DiscordMessage>, IArgumentConverter
Explicit Interface Implementations
| Improve this Doc View SourceIArgumentConverter<DiscordMessage>.ConvertAsync(String, CommandContext)
Converts a string.
Declaration
async Task<Optional<DiscordMessage>> IArgumentConverter<DiscordMessage>.ConvertAsync(string value, CommandContext ctx)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The string to convert. |
CommandContext | ctx | The command context. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Optional<DiscordMessage>> |