RnDAO/tc-botComm

Remove the command trigger from the bot.

Closed this issue · 1 comments

Goal

  • The bot should fetch the settings configured by appetizer user from DB
  • Upon those settings fetch the information from different guilds on daily bases

Example

Let's assume John wants to fetch to see the analysis of RnDAO for the past 3 months.
He'll use appetizer and configures these settings

Period: 1 months
Channels: tc-backend, tc-frontend and tc-business

The bot should fetch the settings from DB, then check how much messages we have from before.
Let's say we've fetched the messages for all the three channels from 1 month ago till past week, hence the bot has to fetch the new messages from past week and add them to database.

Note: keep in mind, user might extend the 3 month period. Let's say John decides to extend the period from 1 month to 3 months, then bot has to fetch the data from 3 moths ago till 1 month ago in addition to the past week's information. I believe to do so, you can the if of the first message we have in db.

How

  • Remove command trigger
  • Fetch different guilds settings from RnDAO database
  • Iterate over guilds and check for missing messages
  • Fetch the data from Discord until you reach overlap

Appendix

Adding 200 extra points to this task upon the developer's request because of the extra effort.