async def give(ctx, member: discord.Member, funnyBucks: str):
    serverID = ctx.guild.id
    userID = ctx.message.author.id
    funnyMemberID = member.id
    if int(funnyBucks) == 0 or int(funnyBucks) < 0:
        await ctx.send("Who are you really helping here...?")
    elif int(funnyBucks) > 50:
        await ctx.send("That amount is too high for personal transactions." +
                       " Limit for personal transactions is 50 Funny")
    else:
        try:
            if checkIfAccountExists(funnyMemberID,
                                    serverID) and checkIfAccountExists(
                                        userID, serverID):

                checkIfAccountHasAllFields(serverID,
                                           getAccount(userID, serverID))
                checkIfAccountHasAllFields(serverID,
                                           getAccount(funnyMemberID, serverID))

                funnyAccount = getAccount(funnyMemberID, serverID)
                userAccount = getAccount(userID, serverID)

                if userAccount["Daily Funny Transactions"] <= 0:
                    await ctx.send(
                        "You do not have a sufficient amount of daily" +
                        " transactions available to charge for this funny." +
                        " Use `!account` to check that number.")
                else:
                    updateBalance(serverID, funnyAccount, int(funnyBucks),
                                  False)
                    updateBalance(serverID, userAccount,
                                  int(funnyBucks) * -1, True)

                    if int(funnyBucks) > 20:
                        await ctx.send(
                            ctx.message.author.name + " is giving " +
                            str(member.name) + " a whopping " + funnyBucks +
                            " funny bucks for making the whole squad laugh.")
                    else:
                        await ctx.send(ctx.message.author.name +
                                       " is giving " + str(member.name) + " " +
                                       funnyBucks +
                                       " funny for the nose-exhale.")
            else:
                await ctx.send(
                    "You or the user do not have a First Bank of Funny" +
                    " account. They will need to `!createFunnyAccount` " +
                    "before you can reward them for being funny!")
        except Exception as e:
            await ctx.send("Something went wrong...")
            await ctx.send(e)
            await ctx.send("Ping Memely till he starts fixing it...")
async def balance(ctx):
    member = ctx.message.author

    ID = str(ctx.message.guild.id)
    userID = ctx.message.author.id
    if not checkIfAccountExists(userID, ID):
        await ctx.send("You do not have a funny account!" +
                       " Make one with `!createFunnyAccount`" +
                       " to get started with First Bank of Funny today!")
    else:
        account = getAccount(userID, ID)
        await ctx.send(member.name + ", you currently have " +
                       str(account["Balance"]) + " funny bucks.")
async def account(ctx):

    ID = str(ctx.message.guild.id)
    userID = ctx.message.author.id
    if not checkIfAccountExists(userID, ID):
        await ctx.send("You do not have a funny account!" +
                       " Make one with `!createFunnyAccount`" +
                       " to get started with First Bank of Funny today!")
    else:
        account = getAccount(userID, ID)

        embed = discord.Embed(title="Funny Bank Menu")
        embed.set_thumbnail(url="https://cdn.discordapp.com/attachments" +
                            "/629188664626380801/682792732993126433/emote.png")

        embed.add_field(
            name="User",
            value="Account Holder Name: " + str(account["User"]),
            inline=False,
        )
        embed.add_field(
            name="Balance",
            value="Balance: " + str(account["Balance"]),
            inline=False,
        )
        embed.add_field(
            name="Funny Credit Score",
            value="Funny Credit Score: " + str(account["Funny Credit Score"]),
            inline=False,
        )
        embed.add_field(
            name="Daily Funny Transactions",
            value="Transactions remaining: " +
            str(account["Daily Funny Transactions"]),
            inline=False,
        )
        embed.add_field(
            name="Funny Wage",
            value="Funny Wage: " + str(account["Funny Wage"]),
            inline=False,
        )
        embed.add_field(
            name="Total Funny Worked",
            value="Funny Worked: " + str(account["Funny Worked"]),
            inline=False,
        )

        await ctx.send(embed=embed)
async def thenIllMakeAFriendshipProblem(ctx, member: discord.Member):
    if ctx.author.id == 380801506137473034:

        ID = str(ctx.message.guild.id)

        user = member.name
        userID = member.id

        try:
            if not checkIfAccountExists(userID, ID):
                queueUp = dbFirstBankOfFunny[str(ID)]
                post_data = {
                    "User": user,
                    "User ID": userID,
                    "Balance": 100,
                    "Funny Credit Score": 500,
                    "Daily Funny Transactions": 5,
                    "Funny Wage": 10,
                    "Funny Worked": 0,
                }

                queueUp.insert_one(post_data)
                await ctx.send("Checking funny credit score for " +
                               member.name + "...")
                time.sleep(3)
                await ctx.send(
                    "Funny credit score is good. Creating account for " +
                    member.name +
                    "! Starting bonus is 100 funny bucks. Have a funny day!")
            else:
                account = getAccount(userID, ID)
                await ctx.send("You already have a funny account." +
                               " Im taking away 1 funny buck for that.......")
                updateBalance(ID, account, -1, False)

        except Exception as e:
            await ctx.send("Something went wrong...")
            await ctx.send(e)
            await ctx.send("Ping Memely till he starts fixing it...")
    else:
        await ctx.send("Cope")
async def on_raw_reaction_add(RawReactionEvent):
    message = (await bot.get_guild(RawReactionEvent.guild_id).get_channel(
        RawReactionEvent.channel_id).fetch_message(RawReactionEvent.message_id
                                                   ))
    messageAuthorID = message.author.id

    guildID = RawReactionEvent.guild_id
    reactorUserID = RawReactionEvent.user_id
    emojiName = RawReactionEvent.emoji.name

    print("----------------Reaction Added----------------")
    print("Message Author: " + str(message.author))
    print("Message Author ID: " + str(messageAuthorID))
    print("Server: " + str(guildID))
    print("User:   "******"Reaction: " + emojiName)

    if messageAuthorID == reactorUserID:
        print("Not updating funny worked for self reactions")
        print("----------------------------------------------")
    else:
        if checkIfAccountExists(messageAuthorID, guildID):
            print("Funny Account Found")
            try:
                account = getAccount(messageAuthorID, guildID)
                checkIfAccountHasAllFields(guildID, account)
                updateFunnyWorked(guildID, account, 1)
                print("----------------------------------------------")
                print("Successfully updated Funny Worked")
                print("----------------------------------------------")
            except Exception as e:
                print("Failed to update funny worked!")
                print("----------------------------------------------")
                print(e)
        else:
            print("No funny account found")
            print("----------------------------------------------")
    await checkPinnable(RawReactionEvent, message, False)