Skip to content

Ignore stars from before the bot joined the guild#5

Open
Stalruth wants to merge 1 commit intoIanMitchell:mainfrom
Stalruth:main
Open

Ignore stars from before the bot joined the guild#5
Stalruth wants to merge 1 commit intoIanMitchell:mainfrom
Stalruth:main

Conversation

@Stalruth
Copy link

@Stalruth Stalruth commented Mar 5, 2023

  • When checking to post a message to then starboard, the bot checks if the message is from before it joined and stops if so.
  • This is to prevent users from clogging up the starboard by starring old messages.

@DanielC7205
Copy link

What about adding it as a configurable option of some sort?

@Stalruth
Copy link
Author

Stalruth commented Mar 5, 2023

Definitely an option and I can definitely see the value for guilds that aren't transitioning between starboard bots.

I might take a look at that in the morning, getting late rn.

@GoldenAngel2
Copy link

Hmm, instead of just limiting to before the bot joined the guild, how about a configurable option to ignore stars before X date. (date format or something like 1M/1w)

If the message timestamp is past 1 month/week.
Or if the message is past the date provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants