Beispiel #1
0
        public async Task DeclineUserMarriage(SocketUser user)
        {
            var userPf = UserProfiles.GetAccount(Context.User);

            if (userPf.MarriageProposals.Contains(user.Id))
            {
                UserProfiles.DeclineMarriage(Context.User, user);

                await ReplyAsync($"You have declined {user.Username}'s marriage proposal.");
            }
            else
            {
                await ReplyAsync($"You have not proposed to {user.Username}!");
            }
        }