# Edited by @Smart_S54
"""
good morning plugin
command: `.gm`
"""
import asyncio
import random

from uniborg.util import admin_cmd


@borg.on(admin_cmd(pattern="ggm"))
async def _(event):

    if event.fwd_from:

        return

    await event.edit("`Wishing GM...`")

    await asyncio.sleep(2)

    x = random.randrange(1, 35)

    if x == 1:
        await event.edit(
            '`"🥰 Life is full of uncertainties. But there will always be a sunrise after every sunset. Good morning!"`'
        )

    if x == 2:
        await event.edit(
            '`"🥰 It doesn’t matter how bad was your yesterday. Today, you are going to make it a good one. Wishing you a good morning!"`'
        )

    if x == 3:
        await event.edit(
            '`"🥰 If you want to gain health and beauty, you should wake up early. Good morning!"`'
        )

    if x == 4:
        await event.edit(
            '`"🥰 May this morning offer you new hope for life! May you be happy and enjoy every moment of it. Good morning!"`'
        )

    if x == 5:
        await event.edit(
            '`"🥰 May the sun shower you with blessings and prosperity in the days ahead. Good morning."`'
        )

    if x == 6:
        await event.edit(
            '`"🥰 Every sunrise marks the rise of life over death, hope over despair and happiness over suffering. Wishing you a very enjoyable morning today!"`'
        )

    if x == 7:
        await event.edit(
            '`"🥰 Wake up and make yourself a part of this beautiful morning. A beautiful world is waiting outside your door. Have an enjoyable time!"`'
        )

    if x == 8:
        await event.edit(
            '`"🥰 Welcome this beautiful morning with a smile on your face. I hope you’ll have a great day today. Wishing you a very good morning!"`'
        )

    if x == 9:
        await event.edit(
            '`"🥰 You have been blessed with yet another day. What a wonderful way of welcoming the blessing with such a beautiful morning! Good morning to you!"`'
        )

    if x == 10:
        await event.edit(
            '`"🥰 Waking up in such a beautiful morning is a guaranty for a day that’s beyond amazing. I hope you’ll make the best of it. Good morning!"`'
        )

    if x == 11:
        await event.edit(
            '`"🥰 Nothing is more refreshing than a beautiful morning that calms your mind and gives you reasons to smile. Good morning! Wishing you a great day."`'
        )

    if x == 12:
        await event.edit(
            '`"🥰 Another day has just started. Welcome the blessings of this beautiful morning. Rise and shine like you always do. Wishing you a wonderful morning!"`'
        )

    if x == 13:
        await event.edit(
            '`"🥰 Wake up like the sun every morning and light up the world your awesomeness. You have so many great things to achieve today. Good morning!"`'
        )

    if x == 14:
        await event.edit(
            '`"🥰 A new day has come with so many new opportunities for you. Grab them all and make the best out of your day. Here’s me wishing you a good morning!"`'
        )

    if x == 15:
        await event.edit(
            '`"🥰 The darkness of night has ended. A new sun is up there to guide you towards a life so bright and blissful. Good morning dear!"`'
        )

    if x == 16:
        await event.edit(
            '`"🥰 Wake up, have your cup of morning tea and let the morning wind freshen you up like a happiness pill. Wishing you a good morning and a good day ahead!"`'
        )

    if x == 17:
        await event.edit(
            '`"🥰 Sunrises are the best; enjoy a cup of coffee or tea with yourself because this day is yours, good morning! Have a wonderful day ahead."`'
        )

    if x == 18:
        await event.edit(
            '`"🥰 A bad day will always have a good morning, hope all your worries are gone and everything you wish could find a place. Good morning!"`'
        )

    if x == 19:
        await event.edit(
            '`"🥰 A great end may not be decided but a good creative beginning can be planned and achieved. Good morning, have a productive day!"`'
        )

    if x == 20:
        await event.edit(
            '`"🥰 Having a sweet morning, a cup of coffee, a day with your loved ones is what sets your “Good Morning” have a nice day!"`'
        )

    if x == 21:
        await event.edit(
            '`"🥰 Anything can go wrong in the day but the morning has to be beautiful, so I am making sure your morning starts beautiful. Good morning!"`'
        )

    if x == 22:
        await event.edit(
            '`"🥰 Open your eyes with a smile, pray and thank god that you are waking up to a new beginning. Good morning!"`'
        )

    if x == 23:
        await event.edit(
            '`"🥰 Morning is not only sunrise but A Beautiful Miracle of God that defeats the darkness and spread light. Good Morning."`'
        )

    if x == 24:
        await event.edit(
            '`"🥰 Life never gives you a second chance. So, enjoy every bit of it. Why not start with this beautiful morning. Good Morning!"`'
        )

    if x == 25:
        await event.edit(
            '`"🥰 If you want to gain health and beauty, you should wake up early. Good Morning!"`'
        )

    if x == 26:
        await event.edit(
            '`"🥰 Birds are singing sweet melodies and a gentle breeze is blowing through the trees, what a perfect morning to wake you up. Good morning!"`'
        )

    if x == 27:
        await event.edit(
            '`"🥰 This morning is so relaxing and beautiful that I really don’t want you to miss it in any way. So, wake up dear friend. A hearty good morning to you!"`'
        )

    if x == 28:
        await event.edit(
            '`"🥰 Mornings come with a blank canvas. Paint it as you like and call it a day. Wake up now and start creating your perfect day. Good morning!"`'
        )

    if x == 29:
        await event.edit(
            '`"🥰 Every morning brings you new hopes and new opportunities. Don’t miss any one of them while you’re sleeping. Good morning!"`'
        )

    if x == 30:
        await event.edit(
            '`"🥰 Start your day with solid determination and great attitude. You’re going to have a good day today. Good morning my friend!"`'
        )

    if x == 31:
        await event.edit(
            '`"🥰 Friendship is what makes life worth living. I want to thank you for being such a special friend of mine. Good morning to you!"`'
        )

    if x == 32:
        await event.edit(
            '`"🥰 A friend like you is pretty hard to come by in life. I must consider myself lucky enough to have you. Good morning. Wish you an amazing day ahead!"`'
        )

    if x == 33:
        await event.edit(
            '`"🥰 The more you count yourself as blessed, the more blessed you will be. Thank God for this beautiful morning and let friendship and love prevail this morning."`'
        )

    if x == 34:
        await event.edit(
            '`"🥰 Wake up and sip a cup of loving friendship. Eat your heart out from a plate of hope. To top it up, a fork full of kindness and love. Enough for a happy good morning!`'
        )

    if x == 35:
        await event.edit(
            '`"🥰 It is easy to imagine the world coming to an end. But it is difficult to imagine spending a day without my friends. Good morning."`'
        )
