Пример #1
0
        public async Task AddClan(string platform, [Remainder] string url)
        {
            UserAccount account = UserAccounts.GetAccount(Context.User);

            if (account.AddClan(platform, url))
            {
                await Context.Channel.SendMessageAsync($"{Context.User.Mention}'s {platform} clan set to {url}");
            }
            else
            {
                await Context.Channel.SendMessageAsync("Failed to set clan.");
            }
        }