send method

Future<void> send({
  1. String? content,
  2. List<MessageEmbed>? embeds,
  3. Poll? poll,
  4. 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);