Exemplo n.º 1
0
        public void SendEmbed(ulong channel, string title, string description)
        {
            var dchannel = _discord.GetChannelAsync(_guildId, channel).ConfigureAwait(false).GetAwaiter().GetResult();

            if (dchannel == null)
            {
                return;
            }

            _discord.SendSimpleEmbed(dchannel, title, description).ConfigureAwait(false);
        }