Conversation
|
Slightly changed digest format following some comments. |
6e570d5 to
2df2a64
Compare
|
I've replaced the "top hosts" category with one that I think is more interesting – the people who've had the most participants in their orders. |
2df2a64 to
a7f5310
Compare
|
Very nice :) |
| return nil | ||
| } | ||
|
|
||
| func (d *DBStore) GetVenuesWithMostOrders(startTime time.Time, limit uint64, channelId string, filteredVenueIds []string) ([]order.VenueOrderCount, error) { |
| return venueOrderCounts, nil | ||
| } | ||
|
|
||
| func (d *DBStore) GetHostsWithMostMouthsFed(startTime time.Time, limit uint64, channelId string, filteredHostIds []string) ([]order.MouthsFedCount, error) { |
| return mouthsFedCount, nil | ||
| } | ||
|
|
||
| func (d *DBStore) GetActiveChannelIds(lastDateConsideredActive time.Time) ([]string, error) { |
a7f5310 to
4e033e3
Compare
|
Thank you for your comments! I probably won't be able to get to it in the near future, but I think it'd be nice to have some design decisions at hand in case I get to work on it:
Assuming you mean adding a whitelist/blacklist determining which channels receive this message – Alternatively, if you mean sending the digest of channel A to channel B, then that might be a nice addition to the proposed slash command.
Would the output of the command be in the same format as in the screenshot above? |
Overview
This PR makes Bolt send a monthly digest on the 1st day of every month:

Bolt automatically finds the channels in which there has been activity in the past month, and sends a personalized digest to those channels.
Some notes
I updated Go to version 1.22, in order to useslices.Concat.