reputation-bot icon indicating copy to clipboard operation
reputation-bot copied to clipboard

Automatic sending of a top

Open LEv145 opened this issue 3 years ago • 8 comments

Automatic publishing is convenient, it can make people help more and they will learn about the reputation system on a server

Top of week: изображение

Maintainer edit The general scope should be:

  • [ ] Add a command group to the channel command called autopost
    • [ ] Add a subcommand called enable
      • [ ] Enable defining a channel
      • [ ] Enable definition of an interval: daily, weekly, monthly
      • [ ] Enable definition of an timeframe for reputation: total, 7 days, 30 days (Equal to reputation modes)
    • [ ] Add a subcommand called disable
  • [ ] Add a scheduler which will daily check at midnight if posts need to be send.
    • [ ] Daily will be send every day at midnight
    • [ ] Weekly will be send on monday each week
    • [ ] Monthly will be send on the first of the month
  • [ ] Make sure that all commands are localised correctly.
  • [ ] Do not create new views. All the needed data exists already.

LEv145 avatar May 13 '22 17:05 LEv145

Could you please specify:

  1. Where should this be posted?
  2. When should the be posted?
  3. Should this be in general refreshed at some time?

rainbowdashlabs avatar May 13 '22 18:05 rainbowdashlabs

The idea is that it will be possible to set up automatic sending to a selected channel every week/month/other statistics for a week/month/other

/autopost [channel] [week/month/...] (**optional settings)

LEv145 avatar May 17 '22 15:05 LEv145

/autopost [channel] [week/month/...] (**optional settings)

is this still the whole plan?

kxmpxtxnt avatar Sep 28 '22 12:09 kxmpxtxnt

@kxmpxtxnt The general scope should be:

  • [ ] Add a command group to the channel command called autopost
    • [ ] Add a subcommand called enable
      • [ ] Enable defining a channel
      • [ ] Enable definition of an interval: daily, weekly, monthly
      • [ ] Enable definition of an timeframe for reputation: total, 7 days, 30 days (Equal to reputation modes)
    • [ ] Add a subcommand called disable
  • [ ] Add a scheduler which will daily check at midnight if posts need to be send.
    • [ ] Daily will be send every day at midnight
    • [ ] Weekly will be send on monday each week
    • [ ] Monthly will be send on the first of the month
  • [ ] Make sure that all commands are localised correctly.
  • [ ] Do not create new views. All the needed data exists already.

rainbowdashlabs avatar Sep 28 '22 13:09 rainbowdashlabs

Bruh im blind :)

kxmpxtxnt avatar Sep 28 '22 13:09 kxmpxtxnt

what should we do if the channel does not exist? just set autopost enabled to false or should the bot send some message or something

kxmpxtxnt avatar Sep 28 '22 17:09 kxmpxtxnt

what should we do if the channel does not exist? just set autopost enabled to false or should the bot send some message or something

simply ignore the error with a ErrorResponseException.ignore() for missing channel or set it to false.

rainbowdashlabs avatar Sep 28 '22 22:09 rainbowdashlabs

+1 for this feature, would be a great addition

KevinhebertU avatar Sep 05 '23 02:09 KevinhebertU