Exemple #1
0
        public virtual async Task AddAsync(string user, ulong channel = 0)
        {
            ulong  guildId   = Context.Guild.Id;
            ulong  channelId = Context.Channel.Id;
            string result    = await SocialMedia.AddSocialMediaUser(guildId, channelId, user, channel);

            await SendMessage(result);
        }
Exemple #2
0
        public void AddSocialMediaUsers_Test_Success()
        {
            var result = _socialMedia.AddSocialMediaUser(123456789, 1, "Test", 2).GetAwaiter().GetResult();

            Assert.Equal(string.Empty, result);
        }