Kyle
Published © MIT

Bible Verse

Bible Verse

BeginnerFull instructions provided2 hours759

Things used in this project

Story

Read more

Schematics

source code zip

Code

AlexaSkill.js

JavaScript
/**
    Copyright 2014-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.

    Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at

        http://aws.amazon.com/apache2.0/

    or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

'use strict';

function AlexaSkill(appId) {
    this._appId = appId;
}

AlexaSkill.speechOutputType = {
    PLAIN_TEXT: 'PlainText',
    SSML: 'SSML'
}

AlexaSkill.prototype.requestHandlers = {
    LaunchRequest: function (event, context, response) {
        this.eventHandlers.onLaunch.call(this, event.request, event.session, response);
    },

    IntentRequest: function (event, context, response) {
        this.eventHandlers.onIntent.call(this, event.request, event.session, response);
    },

    SessionEndedRequest: function (event, context) {
        this.eventHandlers.onSessionEnded(event.request, event.session);
        context.succeed();
    }
};

/**
 * Override any of the eventHandlers as needed
 */
AlexaSkill.prototype.eventHandlers = {
    /**
     * Called when the session starts.
     * Subclasses could have overriden this function to open any necessary resources.
     */
    onSessionStarted: function (sessionStartedRequest, session) {
    },

    /**
     * Called when the user invokes the skill without specifying what they want.
     * The subclass must override this function and provide feedback to the user.
     */
    onLaunch: function (launchRequest, session, response) {
        throw "onLaunch should be overriden by subclass";
    },

    /**
     * Called when the user specifies an intent.
     */
    onIntent: function (intentRequest, session, response) {
        var intent = intentRequest.intent,
            intentName = intentRequest.intent.name,
            intentHandler = this.intentHandlers[intentName];
        if (intentHandler) {
            console.log('dispatch intent = ' + intentName);
            intentHandler.call(this, intent, session, response);
        } else {
            throw 'Unsupported intent = ' + intentName;
        }
    },

    /**
     * Called when the user ends the session.
     * Subclasses could have overriden this function to close any open resources.
     */
    onSessionEnded: function (sessionEndedRequest, session) {
    }
};

/**
 * Subclasses should override the intentHandlers with the functions to handle specific intents.
 */
AlexaSkill.prototype.intentHandlers = {};

AlexaSkill.prototype.execute = function (event, context) {
    try {
        console.log("session applicationId: " + event.session.application.applicationId);

        // Validate that this request originated from authorized source.
        if (this._appId && event.session.application.applicationId !== this._appId) {
            console.log("The applicationIds don't match : " + event.session.application.applicationId + " and "
                + this._appId);
            throw "Invalid applicationId";
        }

        if (!event.session.attributes) {
            event.session.attributes = {};
        }

        if (event.session.new) {
            this.eventHandlers.onSessionStarted(event.request, event.session);
        }

        // Route the request to the proper handler which may have been overriden.
        var requestHandler = this.requestHandlers[event.request.type];
        requestHandler.call(this, event, context, new Response(context, event.session));
    } catch (e) {
        console.log("Unexpected exception " + e);
        context.fail(e);
    }
};

var Response = function (context, session) {
    this._context = context;
    this._session = session;
};

function createSpeechObject(optionsParam) {
    if (optionsParam && optionsParam.type === 'SSML') {
        return {
            type: optionsParam.type,
            ssml: optionsParam.speech
        };
    } else {
        return {
            type: optionsParam.type || 'PlainText',
            text: optionsParam.speech || optionsParam
        }
    }
}

Response.prototype = (function () {
    var buildSpeechletResponse = function (options) {
        var alexaResponse = {
            outputSpeech: createSpeechObject(options.output),
            shouldEndSession: options.shouldEndSession
        };
        if (options.reprompt) {
            alexaResponse.reprompt = {
                outputSpeech: createSpeechObject(options.reprompt)
            };
        }
        if (options.cardTitle && options.cardContent) {
            alexaResponse.card = {
                type: "Simple",
                title: options.cardTitle,
                content: options.cardContent
            };
        }
        var returnResult = {
                version: '1.0',
                response: alexaResponse
        };
        if (options.session && options.session.attributes) {
            returnResult.sessionAttributes = options.session.attributes;
        }
        return returnResult;
    };

    return {
        tell: function (speechOutput) {
            this._context.succeed(buildSpeechletResponse({
                session: this._session,
                output: speechOutput,
                shouldEndSession: true
            }));
        },
        tellWithCard: function (speechOutput, cardTitle, cardContent) {
            this._context.succeed(buildSpeechletResponse({
                session: this._session,
                output: speechOutput,
                cardTitle: cardTitle,
                cardContent: cardContent,
                shouldEndSession: true
            }));
        },
        ask: function (speechOutput, repromptSpeech) {
            this._context.succeed(buildSpeechletResponse({
                session: this._session,
                output: speechOutput,
                reprompt: repromptSpeech,
                shouldEndSession: false
            }));
        },
        askWithCard: function (speechOutput, repromptSpeech, cardTitle, cardContent) {
            this._context.succeed(buildSpeechletResponse({
                session: this._session,
                output: speechOutput,
                reprompt: repromptSpeech,
                cardTitle: cardTitle,
                cardContent: cardContent,
                shouldEndSession: false
            }));
        }
    };
})();

module.exports = AlexaSkill;

index.js

JavaScript
/**
    Copyright 2014-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.

    Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at

        http://aws.amazon.com/apache2.0/

    or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

/**
 * This simple sample has no external dependencies or session management, and shows the most basic
 * example of how to create a Lambda function for handling Alexa Skill requests.
 *
 * Examples:
 * One-shot model:
 *  User: "Alexa, ask Space Geek for a space fact"
 *  Alexa: "Here's your space fact: ..."
 */

/**
 * App ID for the skill
 */
var APP_ID = 'amzn1.echo-sdk-ams.app.8f91d91a-31fe-474b-9a9f-9817aaae1634'; //OPTIONAL: replace with "amzn1.echo-sdk-ams.app.[your-unique-value-here]";

/**
 * Array containing space facts.
 */
var FACTS = [
    "Psalms 91:11 For he shall give his angels charge over thee, to keep thee in all thy ways.",
"Psalms 84:10 For a day in thy courts is better than a thousand. I had rather be a doorkeeper in the house of my God, than to dwell in the tents of wickedness.",
"Isaiah 41:10 Fear thou not for I am with thee: be not dismayed for I am thy God: I will strengthen thee yea, I will help thee yea, I will uphold thee with the right hand of my righteousness.",
"Matthew 11:30 For my yoke is easy, and my burden is light.",
"Psalms 37:4 Delight thyself also in the LORD and he shall give thee the desires of thine heart.",
"1 Thessalonians 1:5 For our gospel came not unto you in word only, but also in power, and in the Holy Ghost, and in much assurance as ye know what manner of men we were among you for your sake.",
"Isaiah 40:31 But they that wait upon the LORD shall renew their strength they shall mount up with wings as eagles they shall run, and not be weary and they shall walk, and not faint.",
"Romans 1:20 For the invisible things of him from the creation of the world are clearly seen, being understood by the things that are made, even his eternal power and Godhead so that they are without excuse:",
"Isaiah 64:8 But now, O LORD, thou art our father we are the clay, and thou our potter and we all are the work of thy hand.",
"1 Timothy 6:10 For the love of money is the root of all evil: which while some coveted after, they have erred from the faith, and pierced themselves through with many sorrows.",
"Psalms 5:11 But let all those that put their trust in thee rejoice: let them ever shout for joy, because thou defendest them: let them also that love thy name be joyful in thee.",
"Romans 6:23 For the wages of sin is death but the gift of God is eternal life through Jesus Christ our Lord.",
"Psalms 13:5 But I have trusted in thy mercy my heart shall rejoice in thy salvation.",
"Hebrews 4:12 For the word of God is quick, and powerful, and sharper than any twoedged sword, piercing even to the dividing asunder of soul and spirit, and of the joints and marrow, and is a discerner of the thoughts and intents of the heart.",
"Isaiah 53:5 But he was wounded for our transgressions, he was bruised for our iniquities: the chastisement of our peace was upon him and with his stripes we are healed.",
"Ephesians 2:10 For we are his workmanship, created in Christ Jesus unto good works, which God hath before ordained that we should walk in them.",
"Malachi 3:10 Bring ye all the tithes into the storehouse, that there may be meat in mine house, and prove me now herewith, saith the LORD of hosts, if I will not open you the windows of heaven, and pour you out a blessing, that there shall not be room enough to receive it.",
"Hebrews 3:14 For we are made partakers of Christ, if we hold the beginning of our confidence stedfast unto the end",
"Psalms 1:1 Blessed is the man that walketh not in the counsel of the ungodly, nor standeth in the way of sinners, nor sitteth in the seat of the scornful.",
"Psalms 119:2 Blessed are they that keep his testimonies, and that seek him with the whole heart.",
"2 Corinthians 5:7 For we walk by faith, not by sight",
"Psalms 133:1 Behold, how good and how pleasant it is for brethren to dwell together in unity!",
"Ephesians 6:12 For we wrestle not against flesh and blood, but against principalities, against powers, against the rulers of the darkness of this world, against spiritual wickedness in high places.",
"Deuteronomy 31:6 Be strong and of a good courage, fear not, nor be afraid of them: for the LORD thy God, he it is that doth go with thee he will not fail thee, nor forsake thee.",
"Matthew 16:26 For what is a man profited, if he shall gain the whole world, and lose his own soul? or what shall a man give in exchange for his soul?",
"Psalms 46:10 Be still, and know that I am God...",
"1 John 5:4 For whatsoever is born of God overcometh the world: and this is the victory that overcometh the world, even our faith.",
"Isaiah 60:1 Arise, shine for thy light is come, and the glory of the LORD is risen upon thee.",
"Psalms 9:10 And they that know thy name will put their trust in thee: for thou, LORD, hast not forsaken them that seek thee.",
"Galatians 5:13 For, brethren, ye have been called unto liberty only use not liberty for an occasion to the flesh, but by love serve one another.",
"Exodus 33:22 And it shall come to pass, while my glory passeth by, that I will put thee in a clift of the rock, and will cover thee with my hand while I pass by:",
"Matthew 28:19 Go ye therefore, and teach all nations, baptizing them in the name of the Father, and of the Son, and of the Holy Ghost:",
"Joshua 24:15 And if it seem evil unto you to serve the LORD, choose you this day whom ye will serve whether the gods which your fathers served that were on the other side of the flood, or the gods of the Amorites, in whose land ye dwell: but as for me and my house, we will serve the LORD.",
"John 15:13 Greater love hath no man than this, that a man lay down his life for his friends.",
"Psalms 1:3 And he shall be like a tree planted by the rivers of water, that bringeth forth his fruit in his season his leaf also shall not wither and whatsoever he doeth shall prosper.",
"John 9:25 He answered and said, Whether he be a sinner or no, I know not: one thing I know, that, whereas I was blind, now I see.",
"Genesis 1:26 And God said, Let us make man in our image, after our likeness: and let them have dominion over the fish of the sea, and over the fowl of the air, and over the cattle, and over all the earth, and over every creeping thing that creepeth upon the earth.",
"1 John 3:16 Hereby perceive we the love of God, because he laid down his life for us: and we ought to lay down our lives for the brethren.",
"Genesis 1:3 And God said, Let there be light: and there was light.",
"2 Timothy 1:13 Hold fast the form of sound words, which thou hast heard of me, in faith and love which is in Christ Jesus.",
"Matthew 19:19 Honour thy father and thy mother: and, Thou shalt love thy neighbour as thyself.",
"Isaiah 32:2 And a man shall be as an hiding place from the wind, and a covert from the tempest as rivers of water in a dry place, as the shadow of a great rock in a weary land.",
"1 Peter 5:6 Humble yourselves therefore under the mighty hand of God, that he may exalt you in due time:",
"Isaiah 53:6 All we like sheep have gone astray we have turned every one to his own way and the LORD hath laid on him the iniquity of us all.",
"Ephesians 5:25 Husbands, love your wives, even as Christ also loved the church, and gave himself for it",
"Proverbs 17:22 A merry heart doeth good like a medicine: but a broken spirit drieth the bones.",
"Galatians 2:20 I am crucified with Christ: nevertheless I live yet not I, but Christ liveth in me: and the life which I now live in the flesh I live by the faith of the Son of God, who loved me, and gave himself for me.",
"Psalms 9:1 ...I will praise thee, O LORD, with my whole heart I will shew forth all thy marvellous works.",
"Romans 12:1 I beseech you therefore, brethren, by the mercies of God, that ye present your bodies a living sacrifice, holy, acceptable unto God, which is your reasonable service.",
"Nehemiah 8:10 ...for this day is holy unto our Lord: neither be ye sorry for the joy of the LORD is your strength.",
"Philippians 4:13 I can do all things through Christ which strengtheneth me.",
"2 Timothy 4:7 I have fought a good fight, I have finished my course, I have kept the faith:",
"Acts 20:35 I have shewed you all things, how that so labouring ye ought to support the weak, and to remember the words of the Lord Jesus, how he said, It is more blessed to give than to receive.",
"Philippians 1:3 I thank my God upon every remembrance of you...",
"1 John 1:9 If we confess our sins, he is faithful and just to forgive us our sins, and to cleanse us from all unrighteousness.",
"John 14:2 In my Father\'s house are many mansions: if it were not so, I would have told you. I go to prepare a place for you.",
"John 1:1 In the beginning was the Word, and the Word was with God, and the Word was God.",
"John 11:25 Jesus said unto her, I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live:",
"Mark 9:23 Jesus said unto him, If thou canst believe, all things are possible to him that believeth.",
"Matthew 22:37 Jesus said unto him, Thou shalt love the Lord thy God with all thy heart, and with all thy soul, and with all thy mind.",
"John 14:6 Jesus saith unto him, I am the way, the truth, and the life: no man cometh unto the Father, but by me.",
"Colossians 3:16 Let the word of Christ dwell in you richly in all wisdom teaching and admonishing one another in psalms and hymns and spiritual songs, singing with grace in your hearts to the Lord.",
"Hebrews 4:16 Let us therefore come boldly unto the throne of grace, that we may obtain mercy, and find grace to help in time of need.",
"Hebrews 13:5 Let your conversation be without covetousness and be content with such things as ye have: for he hath said, I will never leave thee, nor forsake thee.",
"Matthew 5:16 Let your light so shine before men, that they may see your good works, and glorify your Father which is in heaven.",
"Hebrews 12:2 Looking unto Jesus the author and finisher of our faith who for the joy that was set before him endured the cross, despising the shame, and is set down at the right hand of the throne of God.",
"Acts 4:12 Neither is there salvation in any other: for there is none other name under heaven given among men, whereby we must be saved.",
"2 Timothy 2:19 Nevertheless the foundation of God standeth sure, having this seal, The Lord knoweth them that are his. And, Let every one that nameth the name of Christ depart from iniquity.",
"Matthew 6:24 No man can serve two masters: for either he will hate the one, and love the other or else he will hold to the one, and despise the other. Ye cannot serve God and mammon.",
"1 John 4:12 No man hath seen God at any time. If we love one another, God dwelleth in us, and his love is perfected in us.",
"Hebrews 10:25 Not forsaking the assembling of ourselves together, as the manner of some is but exhorting one another: and so much the more, as ye see the day approaching.",
"Hebrews 11:1 Now faith is the substance of things hoped for, the evidence of things not seen.",
"2 Corinthians 2:14 Now thanks be unto God, which always causeth us to triumph in Christ, and maketh manifest the savour of his knowledge by us in every place.",
"Romans 15:13 Now the God of hope fill you with all joy and peace in believing, that ye may abound in hope, through the power of the Holy Ghost.",
"Ephesians 3:20 Now unto him that is able to do exceeding abundantly above all that we ask or think, according to the power that worketh in us,",
"Romans 11:33 O the depth of the riches both of the wisdom and knowledge of God! how unsearchable are his judgments, and his ways past finding out!",
"John 14:27 Peace I leave with you, my peace I give unto you: not as the world giveth, give I unto you. Let not your heart be troubled, neither let it be afraid.",
"Ephesians 6:11 Put on the whole armour of God, that ye may be able to stand against the wiles of the devil.",
"Colossians 3:12 Put on therefore, as the elect of God, holy and beloved, bowels of mercies, kindness, humbleness of mind, meekness, longsuffering",
"John 15:20 Remember the word that I said unto you, The servant is not greater than his lord. If they have persecuted me, they will also persecute you if they have kept my saying, they will keep yours also.",
"Romans 10:17 So then faith cometh by hearing, and hearing by the word of God.",
"2 Timothy 2:15 Study to shew thyself approved unto God, a workman that needeth not to be ashamed, rightly dividing the word of truth.",
"James 4:7 Submit yourselves therefore to God. Resist the devil, and he will flee from you.",
"Matthew 11:29 Take my yoke upon you, and learn of me for I am meek and lowly in heart: and ye shall find rest unto your souls.",
"Matthew 28:20 Teaching them to observe all things whatsoever I have commanded you: and, lo, I am with you always, even unto the end of the world. Amen.",
"Romans 10:9 That if thou shalt confess with thy mouth the Lord Jesus, and shalt believe in thine heart that God hath raised him from the dead, thou shalt be saved.",
"John 10:10 The thief cometh not, but for to steal, and to kill, and to destroy: I am come that they might have life, and that they might have it more abundantly.",
"Acts 18:9 Then spake the Lord to Paul in the night by a vision, Be not afraid, but speak, and hold not thy peace:",
"1 Corinthians 10:13 There hath no temptation taken you but such as is common to man: but God is faithful, who will not suffer you to be tempted above that ye are able but will with the temptation also make a way to escape, that ye may be able to bear it.",
"1 John 4:18 There is no fear in love but perfect love casteth out fear: because fear hath torment. He that feareth is not made perfect in love.",
"Matthew 7:12 Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets.",
"Romans 5:1 Therefore being justified by faith, we have peace with God through our Lord Jesus Christ:",
"2 Corinthians 5:17 Therefore if any man be in Christ, he is a new creature: old things are passed away behold, all things are become new.",
"John 16:33 These things I have spoken unto you, that in me ye might have peace. In the world ye shall have tribulation: but be of good cheer I have overcome the world.",
"John 5:24 Verily, verily, I say unto you, He that heareth my word, and believeth on him that sent me, hath everlasting life, and shall not come into condemnation but is passed from death unto life.",
"Mark 14:38 Watch ye and pray, lest ye enter into temptation. The spirit truly is ready, but the flesh is weak.",
"1 Corinthians 13:11 When I was a child, I spake as a child, I understood as a child, I thought as a child: but when I became a man, I put away childish things.",
"2 Peter 1:4 Whereby are given unto us exceeding great and precious promises: that by these ye might be partakers of the divine nature, having escaped the corruption that is in the world through lust.",
"Hebrews 12:28 Wherefore we receiving a kingdom which cannot be moved, let us have grace, whereby we may serve God acceptably with reverence and godly fear:",
"1 Peter 1:8 Whom having not seen, ye love in whom, though now ye see him not, yet believing, ye rejoice with joy unspeakable and full of glory:",
"John 15:16 Ye have not chosen me, but I have chosen you, and ordained you, that ye should go and bring forth fruit, and that your fruit should remain: that whatsoever ye shall ask of the Father in my name, he may give it you.",
"Psalms 27:1 ...The LORD is my light and my salvation whom shall I fear? the LORD is the strength of my life of whom shall I be afraid?",
"Matthew 18:18 Verily I say unto you, Whatsoever ye shall bind on earth shall be bound in heaven: and whatsoever ye shall loose on earth shall be loosed in heaven.",
"Matthew 18:11 For the Son of man is come to save that which was lost.",
"1 John 4:4 Ye are of God, little children, and have overcome them: because greater is he that is in you, than he that is in the world.",
"Acts 17:28 For in him we live, and move, and have our being...",
"James 4:10 Humble yourselves in the sight of the Lord, and he shall lift you up.",
"Romans 8:39 Nor height, nor depth, nor any other creature, shall be able to separate us from the love of God, which is in Christ Jesus our Lord.",
"Matthew 17:20 ...If ye have faith as a grain of mustard seed, ye shall say unto this mountain, Remove hence to yonder place and it shall remove and nothing shall be impossible unto you.",
"1 John 5:12 He that hath the Son hath life and he that hath not the Son of God hath not life.",
"Psalms 55:22 Cast thy burden upon the LORD, and he shall sustain thee: he shall never suffer the righteous to be moved.",
"1 Peter 1:3 Blessed be the God and Father of our Lord Jesus Christ, which according to his abundant mercy hath begotten us again unto a lively hope by the resurrection of Jesus Christ from the dead,",
"Deuteronomy 6:7 And thou shalt teach them diligently unto thy children, and shalt talk of them when thou sittest in thine house, and when thou walkest by the way, and when thou liest down, and when thou risest up.",
"Ephesians 5:20 Giving thanks always for all things unto God and the Father in the name of our Lord Jesus Christ",
"1 Peter 2:24 Who his own self bare our sins in his own body on the tree, that we, being dead to sins, should live unto righteousness: by whose stripes ye were healed.",
"Matthew 25:23 ...Well done, good and faithful servant thou hast been faithful over a few things, I will make thee ruler over many things...",
"1 Corinthians 13:11 When I was a child, I spake as a child, I understood as a child, I thought as a child: but when I became a man, I put away childish things.",
"Proverbs 1:7 The fear of the LORD is the beginning of knowledge: but fools despise wisdom and instruction.",
"Psalms 100:4 Enter into his gates with thanksgiving, and into his courts with praise: be thankful unto him, and bless his name.",
"Psalms 56:3 What time I am afraid, I will trust in thee.",
"Mark 10:27 ...With men it is impossible, but not with God: for with God all things are possible.",
"Genesis 28:15 And, behold, I am with thee, and will keep thee in all places whither thou goest, and will bring thee again into this land for I will not leave thee, until I have done that which I have spoken to thee of.",
"Romans 1:16 For I am not ashamed of the gospel of Christ: for it is the power of God unto salvation to every one that believeth...",
"1 Thessalonians 5:17 Pray without ceasing.",
"Psalms 100:5 For the LORD is good his mercy is everlasting and his truth endureth to all generations.",
"1 John 4:16 And we have known and believed the love that God hath to us. God is love and he that dwelleth in love dwelleth in God, and God in him.",
"Romans 10:13 For whosoever shall call upon the name of the Lord shall be saved.",
"1 Corinthians 1:18 For the preaching of the cross is to them that perish foolishness but unto us which are saved it is the power of God.",
"Isaiah 41:13 For I the LORD thy God will hold thy right hand, saying unto thee, Fear not I will help thee.",
"Psalms 119:105 Thy word is a lamp unto my feet, and a light unto my path.",
"1 John 5:14 And this is the confidence that we have in him, that, if we ask any thing according to his will, he heareth us:",
"Revelation 4:11 Thou art worthy, O Lord, to receive glory and honour and power: for thou hast created all things, and for thy pleasure they are and were created.",
"1 John 4:7 Beloved, let us love one another: for love is of God and every one that loveth is born of God, and knoweth God.",
"Proverbs 6:6 Go to the ant, thou sluggard consider her ways, and be wise:",
"Isaiah 44:22 I have blotted out, as a thick cloud, thy transgressions, and, as a cloud, thy sins: return unto me for I have redeemed thee.",
"Jeremiah 32:17 Ah Lord GOD! behold, thou hast made the heaven and the earth by thy great power and stretched out arm, and there is nothing too hard for thee:",
"Job 36:27 For he maketh small the drops of water: they pour down rain according to the vapour thereof:",
"Psalms 24:1 ...The earth is the LORD\'S, and the fulness thereof the world, and they that dwell therein.",
"Ecclesiastes 12:13 ...Fear God, and keep his commandments: for this is the whole duty of man.",
"1 Corinthians 15:58 ...be ye stedfast, unmoveable, always abounding in the work of the Lord, forasmuch as ye know that your labour is not in vain in the Lord.",
"Proverbs 29:11 A fool uttereth all his mind: but a wise man keepeth it in till afterwards.",
"Acts 16:31 ...Believe on the Lord Jesus Christ, and thou shalt be saved...",
"Proverbs 16:9 A man\'s heart deviseth his way: but the LORD directeth his steps.",
"Romans 8:31 ...If God be for us, who can be against us?",
"Ezekiel 36:26 A new heart also will I give you, and a new spirit will I put within you: and I will take away the stony heart out of your flesh, and I will give you an heart of flesh.",
"Matthew 21:22 And all things, whatsoever ye shall ask in prayer, believing, ye shall receive.",
"Job 22:21 Acquaint now thyself with him, and be at peace: thereby good shall come unto thee.",
"Ephesians 4:32 And be ye kind one to another, tenderhearted, forgiving one another, even as God for Christ\'s sake hath forgiven you.",
"Psalms 50:15 And call upon me in the day of trouble: I will deliver thee, and thou shalt glorify me.",
"Genesis 1:31 And God saw every thing that he had made, and, behold, it was very good...",
"Exodus 33:14 And he said, My presence shall go with thee, and I will give thee rest.",
"Mark 16:15 And he said unto them, Go ye into all the world, and preach the gospel to every creature.",
"Deuteronomy 6:5 And thou shalt love the LORD thy God with all thine heart, and with all thy soul, and with all thy might.",
"Luke 18:27 And he said, The things which are impossible with men are possible with God.",
"Psalms 103:12 As far as the east is from the west, so far hath he removed our transgressions from us.",
"Matthew 4:19 And he saith unto them, Follow me, and I will make you fishers of men.",
"Psalms 31:24 Be of good courage, and he shall strengthen your heart, all ye that hope in the LORD.",
"Luke 11:9 And I say unto you, Ask, and it shall be given you seek, and ye shall find knock, and it shall be opened unto you.",
"2 Chronicles 15:7 Be ye strong therefore, and let not your hands be weak: for your work shall be rewarded.",
"John 14:16 And I will pray the Father, and he shall give you another Comforter, that he may abide with you for ever",
"Psalms 63:3 Because thy lovingkindness is better than life, my lips shall praise thee.",
"John 14:3 And if I go and prepare a place for you, I will come again, and receive you unto myself that where I am, there ye may be also.",
"Jeremiah 1:5 Before I formed thee in the belly I knew thee and before thou camest forth out of the womb I sanctified thee, and I ordained thee a prophet unto the nations.",
"Acts 2:21 And it shall come to pass, that whosoever shall call on the name of the Lord shall be saved.",
"Jeremiah 32:27 Behold, I am the LORD, the God of all flesh: is there any thing too hard for me?",
"John 6:35 And Jesus said unto them, I am the bread of life: he that cometh to me shall never hunger and he that believeth on me shall never thirst.",
"Jeremiah 17:7 Blessed is the man that trusteth in the LORD, and whose hope the LORD is.",
"Hebrews 10:24 And let us consider one another to provoke unto love and to good works:",
"Psalms 37:11 But the meek shall inherit the earth and shall delight themselves in the abundance of peace.",
"Matthew 3:17 And lo a voice from heaven, saying, This is my beloved Son, in whom I am well pleased.",
"Psalms 3:3 But thou, O LORD, art a shield for me my glory, and the lifter up of mine head.",
"Matthew 1:21 And she shall bring forth a son, and thou shalt call his name JESUS: for he shall save his people from their sins.",
"Jeremiah 33:3 Call unto me, and I will answer thee, and shew thee great and mighty things, which thou knowest not.",
"Luke 1:35 And the angel answered and said unto her, The Holy Ghost shall come upon thee, and the power of the Highest shall overshadow thee: therefore also that holy thing which shall be born of thee shall be called the Son of God.",
"Psalms 51:11 Cast me not away from thy presence and take not thy holy spirit from me.",
"John 1:5 And the light shineth in darkness and the darkness comprehended it not.",
"Psalms 37:5 Commit thy way unto the LORD trust also in him and he shall bring it to pass.",
"John 17:3 And this is life eternal, that they might know thee the only true God, and Jesus Christ, whom thou hast sent.",
"Proverbs 16:3 Commit thy works unto the LORD, and thy thoughts shall be established.",
"John 11:26 And whosoever liveth and believeth in me shall never die. Believest thou this?",
"Psalms 51:10 Create in me a clean heart, O God and renew a right spirit within me.",
"John 8:32 And ye shall know the truth, and the truth shall make you free.",
"Psalms 55:17 Evening, and morning, and at noon, will I pray, and cry aloud: and he shall hear my voice.",
"Revelation 22:12 And, behold, I come quickly and my reward is with me, to give every man according as his work shall be.",
"Proverbs 30:5 Every word of God is pure: he is a shield unto them that put their trust in him.",
"Luke 2:9 And, lo, the angel of the Lord came upon them, and the glory of the Lord shone round about them: and they were sore afraid.",
"Psalms 26:2 Examine me, O LORD, and prove me try my reins and my heart.",
"Ephesians 6:4 And, ye fathers, provoke not your children to wrath: but bring them up in the nurture and admonition of the Lord.",
"Proverbs 31:30 Favour is deceitful, and beauty is vain: but a woman that feareth the LORD, she shall be praised.",
"Luke 12:6 Are not five sparrows sold for two farthings, and not one of them is forgotten before God?",
"Psalms 33:4 For the word of the LORD is right and all his works are done in truth.",
"1 Peter 2:2 As newborn babes, desire the sincere milk of the word, that ye may grow thereby:",
"Psalms 31:3 For thou art my rock and my fortress therefore for thy name\'s sake lead me, and guide me.",
"John 15:9 As the Father hath loved me, so have I loved you: continue ye in my love.",
"Psalms 18:28 For thou wilt light my candle: the LORD my God will enlighten my darkness.",
"Colossians 2:6 As ye have therefore received Christ Jesus the Lord, so walk ye in him:",
"Psalms 36:9 For with thee is the fountain of life: in thy light shall we see light.",
"John 14:20 At that day ye shall know that I am in my Father, and ye in me, and I in you.",
"Psalms 61:2 From the end of the earth will I cry unto thee, when my heart is overwhelmed: lead me to the rock that is higher than I.",
"Hebrews 13:2 Be not forgetful to entertain strangers: for thereby some have entertained angels unawares.",
"Psalms 113:3 From the rising of the sun unto the going down of the same the LORD\'S name is to be praised.",
"Ephesians 4:26 Be ye angry, and sin not: let not the sun go down upon your wrath:",
"2 Samuel 22:33 God is my strength and power: and he maketh my way perfect.",
"Matthew 10:16 Behold, I send you forth as sheep in the midst of wolves: be ye therefore wise as serpents, and harmless as doves.",
"Psalms 23:3 He restoreth my soul: he leadeth me in the paths of righteousness for his name\'s sake.",
"Revelation 3:20 Behold, I stand at the door, and knock: if any man hear my voice, and open the door, I will come in to him, and will sup with him, and he with me.",
"Psalms 91:4 He shall cover thee with his feathers, and under his wings shalt thou trust: his truth shall be thy shield and buckler.",
"Matthew 7:15 Beware of false prophets, which come to you in sheep\'s clothing, but inwardly they are ravening wolves.",
"Psalms 91:1 He that dwelleth in the secret place of the most High shall abide under the shadow of the Almighty.",
"Luke 6:28 Bless them that curse you, and pray for them which despitefully use you.",
"Proverbs 13:20 He that walketh with wise men shall be wise: but a companion of fools shall be destroyed.",
"Matthew 5:9 Blessed are the peacemakers: for they shall be called the children of God.",
"Exodus 20:12 Honour thy father and thy mother: that thy days may be long upon the land which the LORD thy God giveth thee.",
"Matthew 5:3 Blessed are the poor in spirit: for theirs is the kingdom of heaven.",
"Psalms 34:4 I sought the LORD, and he heard me, and delivered me from all my fears.",
"Matthew 5:6 Blessed are they which do hunger and thirst after righteousness: for they shall be filled.",
"Psalms 4:8 I will both lay me down in peace, and sleep: for thou, LORD, only makest me dwell in safety.",
"Matthew 5:11 Blessed are ye, when men shall revile you, and persecute you, and shall say all manner of evil against you falsely, for my sake.",
"Psalms 18:3 I will call upon the LORD, who is worthy to be praised: so shall I be saved from mine enemies.",
"Ephesians 1:3 Blessed be the God and Father of our Lord Jesus Christ, who hath blessed us with all spiritual blessings in heavenly places in Christ:",
"Psalms 139:14 I will praise thee for I am fearfully and wonderfully made: marvellous are thy works and that my soul knoweth right well.",
"Matthew 4:4 But he answered and said, It is written, Man shall not live by bread alone, but by every word that proceedeth out of the mouth of God.",
"Psalms 91:2 I will say of the LORD, He is my refuge and my fortress: my God in him will I trust.",
"Luke 11:28 But he said, Yea rather, blessed are they that hear the word of God, and keep it.",
"Psalms 56:11 In God have I put my trust: I will not be afraid what man can do unto me.",
"1 John 1:7 But if we walk in the light, as he is in the light, we have fellowship one with another, and the blood of Jesus Christ his Son cleanseth us from all sin.",
"Psalms 56:4 In God I will praise his word, in God I have put my trust...",
"James 1:6 But let him ask in faith, nothing wavering. For he that wavereth is like a wave of the sea driven with the wind and tossed.",
"Psalms 71:1 In thee, O LORD, do I put my trust: let me never be put to confusion.",
"Matthew 24:36 But of that day and hour knoweth no man, no, not the angels of heaven, but my Father only.",
"Psalms 25:5 Lead me in thy truth, and teach me: for thou art the God of my salvation...",
"1 Corinthians 15:57 But thanks be to God, which giveth us the victory through our Lord Jesus Christ.",
"Psalms 150:6 Let every thing that hath breath praise the LORD. Praise ye the LORD.",
"Matthew 10:30 But the very hairs of your head are all numbered.",
"Psalms 95:2 Let us come before his presence with thanksgiving, and make a joyful noise unto him with psalms.",
"Ephesians 6:1 Children, obey your parents in the Lord: for this is right.",
"Psalms 98:4 Make a joyful noise unto the LORD, all the earth: make a loud noise, and rejoice, and sing praise.",
"James 1:17 Every good gift and every perfect gift is from above, and cometh down from the Father of lights, with whom is no variableness, neither shadow of turning.",
"Psalms 34:19 Many are the afflictions of the righteous: but the LORD delivereth him out of them all.",
"Ephesians 6:10 Finally, my brethren, be strong in the Lord, and in the power of his might.",
"Psalms 62:5 My soul, wait thou only upon God for my expectation is from him.",
"1 Thessalonians 5:9 For God hath not appointed us to wrath, but to obtain salvation by our Lord Jesus Christ,",
"Psalms 95:1 O come, let us sing unto the LORD: let us make a joyful noise to the rock of our salvation.",
"1 Corinthians 14:33 For God is not the author of confusion, but of peace, as in all churches of the saints.",
"Psalms 95:6 O come, let us worship and bow down: let us kneel before the LORD our maker.",
"John 6:38 For I came down from heaven, not to do mine own will, but the will of him that sent me.",
"Psalms 107:1 O give thanks unto the LORD, for he is good: for his mercy endureth for ever.",
"Romans 8:18 For I reckon that the sufferings of this present time are not worthy to be compared with the glory which shall be revealed in us.",
"Psalms 118:1 O give thanks unto the LORD for he is good: because his mercy endureth for ever.",
"Romans 5:17 For if by one man\'s offence death reigned by one much more they which receive abundance of grace and of the gift of righteousness shall reign in life by one, Jesus Christ.",
"Psalms 136:1 O give thanks unto the LORD for he is good: for his mercy endureth for ever.",
"Romans 6:14 For sin shall not have dominion over you: for ye are not under the law, but under grace.",
"Psalms 8:9 O LORD our Lord, how excellent is thy name in all the earth!",
"Romans 8:2 For the law of the Spirit of life in Christ Jesus hath made me free from the law of sin and death.",
"Psalms 25:2 O my God, I trust in thee: let me not be ashamed, let not mine enemies triumph over me.",
"John 1:17 For the law was given by Moses, but grace and truth came by Jesus Christ.",
"Psalms 96:1 O sing unto the LORD a new song: sing unto the LORD, all the earth.",
"1 Thessalonians 4:16 For the Lord himself shall descend from heaven with a shout, with the voice of the archangel, and with the trump of God: and the dead in Christ shall rise first:",
"Psalms 34:8 O taste and see that the LORD is good: blessed is the man that trusteth in him.",
"Luke 19:10 For the Son of man is come to seek and to save that which was lost.",
"Psalms 106:1 Praise ye the LORD. O give thanks unto the LORD for he is good: for his mercy endureth for ever.",
"1 John 5:7 For there are three that bear record in heaven, the Father, the Word, and the Holy Ghost: and these three are one.",
"Psalms 51:12 Restore unto me the joy of thy salvation and uphold me with thy free spirit.",
"1 Timothy 2:5 For there is one God, and one mediator between God and men, the man Christ Jesus",
"Proverbs 14:34 Righteousness exalteth a nation: but sin is a reproach to any people.",
"Romans 1:17 For therein is the righteousness of God revealed from faith to faith: as it is written, The just shall live by faith.",
"Psalms 139:23 Search me, O God, and know my heart: try me, and know my thoughts:",
"Luke 2:11 For unto you is born this day in the city of David a Saviour, which is Christ the Lord.",
"1 Chronicles 16:11 Seek the LORD and his strength, seek his face continually.",
"Mark 8:36 For what shall it profit a man, if he shall gain the whole world, and lose his own soul?",
"Isaiah 55:6 Seek ye the LORD while he may be found, call ye upon him while he is near:",
"Matthew 18:20 For where two or three are gathered together in my name, there am I in the midst of them.",
"Psalms 100:2 Serve the LORD with gladness: come before his presence with singing.",
"Romans 10:10 For with the heart man believeth unto righteousness and with the mouth confession is made unto salvation.",
"Psalms 23:6 Surely goodness and mercy shall follow me all the days of my life: and I will dwell in the house of the LORD for ever.",
"Galatians 3:26 For ye are all the children of God by faith in Christ Jesus.",
"Psalms 27:11 Teach me thy way, O LORD, and lead me in a plain path, because of mine enemies.",
"1 Corinthians 6:20 For ye are bought with a price: therefore glorify God in your body, and in your spirit, which are God\'s.",
"Psalms 86:11 Teach me thy way, O LORD I will walk in thy truth: unite my heart to fear thy name.",
"Matthew 7:6 Give not that which is holy unto the dogs, neither cast ye your pearls before swine, lest they trample them under their feet, and turn again and rend you.",
"Proverbs 10:22 The blessing of the LORD, it maketh rich, and he addeth no sorrow with it.",
"Luke 2:14 Glory to God in the highest, and on earth peace, good will toward men.",
"Psalms 34:15 The eyes of the LORD are upon the righteous, and his ears are open unto their cry.",
"1 Corinthians 1:9 God is faithful, by whom ye were called unto the fellowship of his Son Jesus Christ our Lord.",
"Proverbs 9:10 The fear of the LORD is the beginning of wisdom: and the knowledge of the holy is understanding.",
"Matthew 10:39 He that findeth his life shall lose it: and he that loseth his life for my sake shall find it.",
"Proverbs 11:30 The fruit of the righteous is a tree of life and he that winneth souls is wise.",
"Revelation 21:7 He that overcometh shall inherit all things and I will be his God, and he shall be my son.",
"Isaiah 40:8 The grass withereth, the flower fadeth: but the word of our God shall stand for ever.",
"Matthew 24:35 Heaven and earth shall pass away, but my words shall not pass away.",
"Psalms 9:9 The LORD also will be a refuge for the oppressed, a refuge in times of trouble.",
"Revelation 1:8 I am Alpha and Omega, the beginning and the ending, saith the Lord, which is, and which was, and which is to come, the Almighty.",
"Habakkuk 3:19 The LORD God is my strength, and he will make my feet like hinds\' feet, and he will make me to walk upon mine high places...",
"Revelation 1:18 I am he that liveth, and was dead and, behold, I am alive for evermore...",
"Psalms 103:8 The LORD is merciful and gracious, slow to anger, and plenteous in mercy.",
"John 10:9 I am the door: by me if any man enter in, he shall be saved, and shall go in and out, and find pasture.",
"Psalms 18:2 The LORD is my rock, and my fortress, and my deliverer my God, my strength, in whom I will trust my buckler, and the horn of my salvation, and my high tower.",
"John 10:11 I am the good shepherd: the good shepherd giveth his life for the sheep.",
"Psalms 28:7 The LORD is my strength and my shield my heart trusted in him, and I am helped...",
"Philippians 3:14 I press toward the mark for the prize of the high calling of God in Christ Jesus.",
"Psalms 118:6 The LORD is on my side I will not fear: what can man do unto me?",
"James 1:5 If any of you lack wisdom, let him ask of God, that giveth to all men liberally, and upbraideth not and it shall be given him.",
"Psalms 121:5 The LORD is thy keeper: the LORD is thy shade upon thy right hand.",
"1 John 1:8 If we say that we have no sin, we deceive ourselves, and the truth is not in us.",
"Psalms 34:17 The righteous cry, and the LORD heareth, and delivereth them out of all their troubles.",
"John 15:7 If ye abide in me, and my words abide in you, ye shall ask what ye will, and it shall be done unto you.",
"Psalms 37:23 The steps of a good man are ordered by the LORD: and he delighteth in his way.",
"1 Thessalonians 5:18 In every thing give thanks: for this is the will of God in Christ Jesus concerning you.",
"Psalms 12:6 The words of the LORD are pure words: as silver tried in a furnace of earth, purified seven times.",
"John 3:5 Jesus answered, Verily, verily, I say unto thee, Except a man be born of water and of the Spirit, he cannot enter into the kingdom of God.",
"1 Samuel 2:2 There is none holy as the LORD: for there is none beside thee: neither is there any rock like our God.",
"Luke 6:37 Judge not, and ye shall not be judged: condemn not, and ye shall not be condemned: forgive, and ye shall be forgiven:",
"Isaiah 7:14 Therefore the Lord himself shall give you a sign Behold, a virgin shall conceive, and bear a son, and shall call his name Immanuel.",
"James 1:3 Knowing this, that the trying of your faith worketh patience.",
"Psalms 118:28 Thou art my God, and I will praise thee: thou art my God, I will exalt thee.",
"Ephesians 4:29 Let no corrupt communication proceed out of your mouth, but that which is good to the use of edifying, that it may minister grace unto the hearers.",
"Psalms 23:5 Thou preparest a table before me in the presence of mine enemies: thou anointest my head with oil my cup runneth over.",
"John 14:1 Let not your heart be troubled: ye believe in God, believe also in me.",
"Exodus 20:3 Thou shalt have no other gods before me.",
"John 5:28 Marvel not at this: for the hour is coming, in the which all that are in the graves shall hear his voice,",
"Psalms 119:11 Thy word have I hid in mine heart, that I might not sin against thee.",
"Romans 8:37 Nay, in all these things we are more than conquerors through him that loved us.",
"Ecclesiastes 3:1 To every thing there is a season, and a time to every purpose under the heaven:",
"Philippians 4:11 Not that I speak in respect of want: for I have learned, in whatsoever state I am, therewith to be content.",
"Isaiah 26:4 Trust ye in the LORD for ever: for in the LORD JEHOVAH is everlasting strength:",
"Ephesians 4:6 One God and Father of all, who is above all, and through all, and in you all.",
"Psalms 25:1 Unto thee, O LORD, do I lift up my soul.",
"Romans 12:12 Rejoicing in hope patient in tribulation continuing instant in prayer",
"Psalms 27:14 Wait on the LORD: be of good courage, and he shall strengthen thine heart: wait, I say, on the LORD.",
"Matthew 20:16 So the last shall be first, and the first last: for many be called, but few chosen.",
"Psalms 51:2 Wash me throughly from mine iniquity, and cleanse me from my sin.",
"Galatians 5:1 Stand fast therefore in the liberty wherewith Christ hath made us free, and be not entangled again with the yoke of bondage.",
"Proverbs 16:7 When a man\'s ways please the LORD, he maketh even his enemies to be at peace with him.",
"Philippians 3:10 That I may know him, and the power of his resurrection, and the fellowship of his sufferings, being made conformable unto his death",
"Psalms 27:8 When thou saidst, Seek ye my face my heart said unto thee, Thy face, LORD, will I seek.",
"John 3:15 That whosoever believeth in him should not perish, but have eternal life.",
"Proverbs 21:23 Whoso keepeth his mouth and his tongue keepeth his soul from troubles.",
"Matthew 9:37 Then saith he unto his disciples, The harvest truly is plenteous, but the labourers are few",
"Proverbs 4:7 Wisdom is the principal thing therefore get wisdom: and with all thy getting get understanding.",
"John 8:12 Then spake Jesus again unto them, saying, I am the light of the world: he that followeth me shall not walk in darkness, but shall have the light of life.",
"Galatians 3:28 There is neither Jew nor Greek, there is neither bond nor free, there is neither male nor female: for ye are all one in Christ Jesus.",
"Romans 8:1 There is therefore now no condemnation to them which are in Christ Jesus, who walk not after the flesh, but after the Spirit.",
"Matthew 24:44 Therefore be ye also ready: for in such an hour as ye think not the Son of man cometh.",
"John 15:12 This is my commandment, That ye love one another, as I have loved you.",
"2 Timothy 2:3 Thou therefore endure hardness, as a good soldier of Jesus Christ.",
"2 Timothy 2:1 Thou therefore, my son, be strong in the grace that is in Christ Jesus.",
"Matthew 26:41 Watch and pray, that ye enter not into temptation: the spirit indeed is willing, but the flesh is weak.",
"Matthew 24:42 Watch therefore: for ye know not what hour your Lord doth come.",
"1 Corinthians 6:19 What? know ye not that your body is the temple of the Holy Ghost which is in you...",
"Ephesians 6:13 Wherefore take unto you the whole armour of God, that ye may be able to withstand in the evil day, and having done all, to stand.",
"James 1:19 Wherefore, my beloved brethren, let every man be swift to hear, slow to speak, slow to wrath:",
"1 Corinthians 10:31 Whether therefore ye eat, or drink, or whatsoever ye do, do all to the glory of God.",
"Romans 8:35 Who shall separate us from the love of Christ? shall tribulation, or distress, or persecution, or famine, or nakedness, or peril, or sword?",
"1 John 4:15 Whosoever shall confess that Jesus is the Son of God, God dwelleth in him, and he in God.",
"Matthew 5:14 Ye are the light of the world. A city that is set on an hill cannot be hid.",
"Psalms 119:103 How sweet are thy words unto my taste! yea, sweeter than honey to my mouth!",
"1 Corinthians 15:55 O death, where is thy sting? O grave, where is thy victory?",
"Luke 6:45 A good man out of the good treasure of his heart bringeth forth that which is good?",
"Mark 10:45 For even the Son of man came not to be ministered unto, but to minister, and to give his life a ransom for many.",
"Proverbs 3:35 The wise shall inherit glory: but shame shall be the promotion of fools.",
"Luke 12:32 Fear not, little flock for it is your Father\'s good pleasure to give you the kingdom.",
"Matthew 12:30 He that is not with me is against me and he that gathereth not with me scattereth abroad.",
"John 3:27 ...A man can receive nothing, except it be given him from heaven.",
"Luke 6:27 But I say unto you which hear, Love your enemies, do good to them which hate you,",
"Mark 11:26 But if ye do not forgive, neither will your Father which is in heaven forgive your trespasses.",
"James 2:26 For as the body without the spirit is dead, so faith without works is dead also.",
"Proverbs 29:25 The fear of man bringeth a snare: but whoso putteth his trust in the LORD shall be safe.",
"Jude 1:25 To the only wise God our Saviour, be glory and majesty, dominion and power, both now and ever. Amen.",
"1 Corinthians 9:24 Know ye not that they which run in a race run all, but one receiveth the prize? So run, that ye may obtain.",
"Proverbs 4:23 Keep thy heart with all diligence for out of it are the issues of life.",
"Matthew 10:22 And ye shall be hated of all men for my name\'s sake: but he that endureth to the end shall be saved.",
"Proverbs 12:22 Lying lips are abomination to the LORD: but they that deal truly are his delight.",
"Luke 14:27 And whosoever doth not bear his cross, and come after me, cannot be my disciple.",
"Habakkuk 2:20 But the LORD is in his holy temple: let all the earth keep silence before him.",
"Colossians 3:20 Children, obey your parents in all things: for this is well pleasing unto the Lord.",
"1 John 3:20 For if our heart condemn us, God is greater than our heart, and knoweth all things.",
"Psalms 107:20 He sent his word, and healed them, and delivered them from their destructions.",
"John 15:18 If the world hate you, ye know that it hated me before it hated you.",
"Proverbs 16:18 Pride goeth before destruction, and an haughty spirit before a fall.",
"Psalms 118:17 I shall not die, but live, and declare the works of the LORD.",
"1 Corinthians 2:16 For who hath known the mind of the Lord, that he may instruct him? But we have the mind of Christ.",
"Psalms 89:15 Blessed is the people that know the joyful sound: they shall walk, O LORD, in the light of thy countenance.",
"2 Thessalonians 2:15 Therefore, brethren, stand fast, and hold the traditions which ye have been taught, whether by word, or our epistle.",
"Hebrews 12:14 Follow peace with all men, and holiness, without which no man shall see the Lord:",
"Psalms 36:7 How excellent is thy lovingkindness, O God! therefore the children of men put their trust under the shadow of thy wings.",
"Romans 8:14 For as many as are led by the Spirit of God, they are the sons of God.",
"Colossians 1:14 In whom we have redemption through his blood, even the forgiveness of sins:",
"1 Corinthians 3:16 Know ye not that ye are the temple of God, and that the Spirit of God dwelleth in you?",
"Jeremiah 29:13 And ye shall seek me, and find me, when ye shall search for me with all your heart.",
"Proverbs 3:13 Happy is the man that findeth wisdom, and the man that getteth understanding.",
"1 John 5:13 These things have I written unto you that believe on the name of the Son of God that ye may know that ye have eternal life?",
"Psalms 92:13 Those that be planted in the house of the LORD shall flourish in the courts of our God.",
"Romans 14:11 For it is written, As I live, saith the Lord, every knee shall bow to me, and every tongue shall confess to God.",
"Matthew 5:10 Blessed are they which are persecuted for righteousness\' sake: for theirs is the kingdom of heaven.",
"Psalms 85:10 Mercy and truth are met together righteousness and peace have kissed each other.",
"Ecclesiastes 7:9 Be not hasty in thy spirit to be angry: for anger resteth in the bosom of fools.",
"1 John 5:11 And this is the record, that God hath given to us eternal life, and this life is in his Son.",
"Psalms 40:8 I delight to do thy will, O my God: yea, thy law is within my heart.",
"1 Corinthians 3:9 For we are labourers together with God: ye are God\'s husbandry, ye are God\'s building.",
"Psalms 96:9 O worship the LORD in the beauty of holiness: fear before him, all the earth.",
"Psalms 25:9 The meek will he guide in judgment: and the meek will he teach his way.",
"Ecclesiastes 3:8 A time to love, and a time to hate a time of war, and a time of peace.",
"1 John 4:11 Beloved, if God so loved us, we ought also to love one another.",
"Psalms 17:8 Keep me as the apple of the eye, hide me under the shadow of thy wings,",
"Proverbs 10:8 The wise in heart will receive commandments: but a prating fool shall fall.",
"Galatians 6:7 Be not deceived God is not mocked: for whatsoever a man soweth, that shall he also reap.",
"Psalms 27:7 Hear, O LORD, when I cry with my voice: have mercy also upon me, and answer me.",
"Romans 4:7 Saying, Blessed are they whose iniquities are forgiven, and whose sins are covered.",
"Psalms 121:7 The LORD shall preserve thee from all evil: he shall preserve thy soul.",
"Micah 7:7 Therefore I will look unto the LORD I will wait for the God of my salvation: my God will hear me.",
"Proverbs 2:6 For the LORD giveth wisdom: out of his mouth cometh knowledge and understanding.",
"Matthew 24:5 For many shall come in my name, saying, I am Christ and shall deceive many.",
"Psalms 4:5 Offer the sacrifices of righteousness, and put your trust in the LORD.",
"Romans 10:4 For Christ is the end of the law for righteousness to every one that believeth.",
"Proverbs 15:3 The eyes of the LORD are in every place, beholding the evil and the good.",
"Psalms 29:2 Give unto the LORD the glory due unto his name worship the LORD in the beauty of holiness.",
"2 Peter 1:2 Grace and peace be multiplied unto you through the knowledge of God, and of Jesus our Lord,",
"Ephesians 1:2 Grace be to you, and peace, from God our Father, and from the Lord Jesus Christ.",
"Proverbs 2:2 So that thou incline thine ear unto wisdom, and apply thine heart to understanding",
"Psalms 103:1 Bless the LORD, O my soul: and all that is within me, bless his holy name.",
"Proverbs 27:1 Boast not thyself of to morrow for thou knowest not what a day may bring forth.",
"Colossians 3:1 If ye then be risen with Christ, seek those things which are above, where Christ sitteth on the right hand of God.",
"Psalms 150:1 Praise ye the LORD. Praise God in his sanctuary: praise him in the firmament of his power.",
"Proverbs 28:1 The wicked flee when no man pursueth: but the righteous are bold as a lion."
];

/**
 * The AlexaSkill prototype and helper functions
 */
var AlexaSkill = require('./AlexaSkill');

/**
 * SpaceGeek is a child of AlexaSkill.
 * To read more about inheritance in JavaScript, see the link below.
 *
 * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Introduction_to_Object-Oriented_JavaScript#Inheritance
 */
var Fact = function () {
    AlexaSkill.call(this, APP_ID);
};

// Extend AlexaSkill
Fact.prototype = Object.create(AlexaSkill.prototype);
Fact.prototype.constructor = Fact;

Fact.prototype.eventHandlers.onSessionStarted = function (sessionStartedRequest, session) {
    //console.log("onSessionStarted requestId: " + sessionStartedRequest.requestId + ", sessionId: " + session.sessionId);
    // any initialization logic goes here
};

Fact.prototype.eventHandlers.onLaunch = function (launchRequest, session, response) {
    //console.log("onLaunch requestId: " + launchRequest.requestId + ", sessionId: " + session.sessionId);
    handleNewFactRequest(response);
};

/**
 * Overridden to show that a subclass can override this function to teardown session state.
 */
Fact.prototype.eventHandlers.onSessionEnded = function (sessionEndedRequest, session) {
    //console.log("onSessionEnded requestId: " + sessionEndedRequest.requestId + ", sessionId: " + session.sessionId);
    // any cleanup logic goes here
};

Fact.prototype.intentHandlers = {
    "GetNewFactIntent": function (intent, session, response) {
        handleNewFactRequest(response);
    },

    "AMAZON.HelpIntent": function (intent, session, response) {
        response.ask("You can say tell me a new verse, or, you can say exit... What can I help you with?", "What can I help you with?");
    },

    "AMAZON.StopIntent": function (intent, session, response) {
        var speechOutput = "Goodbye";
        response.tell(speechOutput);
    },

    "AMAZON.CancelIntent": function (intent, session, response) {
        var speechOutput = "Goodbye";
        response.tell(speechOutput);
    }
};

/**
 * Gets a random new fact from the list and returns to the user.
 */
function handleNewFactRequest(response) {
    // Get a random space fact from the space facts list
    var factIndex = Math.floor(Math.random() * FACTS.length);
    var randomFact = FACTS[factIndex];

    // Create speech output
    var speechOutput =  randomFact;
    var cardTitle = "Bible Verse";
    response.tellWithCard(speechOutput, cardTitle, speechOutput);
}

// Create the handler that responds to the Alexa Request.
exports.handler = function (event, context) {
    // Create an instance of the SpaceGeek skill.
    var fact = new Fact();
    fact.execute(event, context);
};

Credits

Kyle

Kyle

5 projects • 4 followers

Comments