reputation-bot
reputation-bot copied to clipboard
Automatic sending of a top
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 subcommand called enable
- [ ] 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.
Could you please specify:
- Where should this be posted?
- When should the be posted?
- Should this be in general refreshed at some time?
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)
/autopost [channel] [week/month/...] (**optional settings)
is this still the whole plan?
@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 subcommand called enable
- [ ] 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.
Bruh im blind :)
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
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.
+1 for this feature, would be a great addition