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); }
public void AddSocialMediaUsers_Test_Success() { var result = _socialMedia.AddSocialMediaUser(123456789, 1, "Test", 2).GetAwaiter().GetResult(); Assert.Equal(string.Empty, result); }