Git Product home page Git Product logo

Comments (14)

eddiejaoude avatar eddiejaoude commented on May 24, 2024 1

From the MEE6 bot, that counts the messages and assigns levels, it doesn't mean we dont do it too in our DB.

Not sure if this should wait until we move to another DB otherwise it will be more data to migrate or drop

from eddiebot.

eddiejaoude avatar eddiejaoude commented on May 24, 2024 1

I have updated the description to say it is dependent on the DB #263

from eddiebot.

Vyvy-vi avatar Vyvy-vi commented on May 24, 2024 1

I think this is still needed, stalebot ._.

from eddiebot.

Vyvy-vi avatar Vyvy-vi commented on May 24, 2024 1

Since we shifted to the API for data collection, and are re-making the bot, I think it's safe to close this issue

from eddiebot.

github-actions avatar github-actions commented on May 24, 2024

Stale issue message

from eddiebot.

eddiejaoude avatar eddiejaoude commented on May 24, 2024

This was started but not completed https://github.com/EddieJaoudeCommunity/EddieBot/blob/develop/src/chatty.ts

from eddiebot.

BOLT04 avatar BOLT04 commented on May 24, 2024

Hi @eddiejaoude πŸ˜ƒ. I'd like to work on this, but I'm not aware of the current status of the database collections. I saw in this issue #32 that usersGithub exists, but there are no references to it on this codebase.

For this issue, would we have another collection for the user's stats, or use an existing collection? Something like this:

import { db, incrementFieldValue } from './firebase';
export const chatty = async (message: Message) => {
    //.....
    await db
        .collection('usersStats')
        .doc(message.author.id)
        .update({ messageCount: incrementFieldValue });
}

from eddiebot.

BOLT04 avatar BOLT04 commented on May 24, 2024

you're right, it's better to postpone this after the DB switch since this API will change πŸ‘

from eddiebot.

github-actions avatar github-actions commented on May 24, 2024

Stale issue message

from eddiebot.

Vyvy-vi avatar Vyvy-vi commented on May 24, 2024

Would this be integrated in ^bio ?

from eddiebot.

Vyvy-vi avatar Vyvy-vi commented on May 24, 2024

Or perhaps we could have a server user card (another command), with all this user-info and profile progress?

Context:
#396

from eddiebot.

BOLT04 avatar BOLT04 commented on May 24, 2024

Hi @Vyvy-vi, integrating with the bio command is a great idea πŸ‘, or any UI to show this information (like your user card idea)

from eddiebot.

eddiejaoude avatar eddiejaoude commented on May 24, 2024

Nice πŸ‘

from eddiebot.

github-actions avatar github-actions commented on May 24, 2024

Stale issue message

from eddiebot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.