Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Monitor): add decorators #7

Merged
merged 6 commits into from
Jul 22, 2020
Merged

feat(Monitor): add decorators #7

merged 6 commits into from
Jul 22, 2020

Conversation

Quantumlyy
Copy link
Contributor

No description provided.

@Quantumlyy Quantumlyy marked this pull request as ready for review July 22, 2020 09:05
adiologydev
adiologydev previously approved these changes Jul 22, 2020
Copy link
Contributor

@cfanoulis cfanoulis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please rename src/lib/types/Enums.ts back to a .d.ts file

cfanoulis
cfanoulis previously approved these changes Jul 22, 2020
Copy link
Contributor

@cfanoulis cfanoulis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after talk in Discord

@favna favna merged commit 5d3accd into main Jul 22, 2020
@favna favna deleted the feat/decorators/monitors branch July 22, 2020 15:29
Copy link
Member

@kyranet kyranet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Monitor's properties should be fields if anything.

But another thought I had was to remove the checks and let users implement their own. Not all bots need the overhead of having to check fields that are always the same for all monitors. Skyra provides a custom Monitor class which has its own condition methods.

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.

None yet

5 participants