send method
Future<void>
send({
- String? content,
- List<
MessageEmbed> ? embeds, - Poll? poll,
- List<
MessageComponent> ? components,
Sends a message to the channel.
await channel.send(content: 'Hello, world!');
Implementation
Future<void> send(
{String? content,
List<MessageEmbed>? embeds,
Poll? poll,
List<MessageComponent>? components}) =>
_methods.send(
guildId: _properties.serverId,
content: content,
embeds: embeds,
poll: poll,
components: components);