コード例 #1
0
        public async Task ProTask(SocketUser socketUser)
        {
            var result = socketUser.MakePro();

            if (result)
            {
                await ReplyAsync($"Congratzzz {socketUser.Mention}, you are now a pro member :tada:");
            }
            else
            {
                await ReplyAsync($"{socketUser.Username} is already a pro Member <a:thinkez:462208367121661955>");
            }
        }