Skip to content

Emergency#0001 priority-request#61

Merged
SCDerox merged 5 commits intoScootKit:mainfrom
hfgd123:main
May 9, 2022
Merged

Emergency#0001 priority-request#61
SCDerox merged 5 commits intoScootKit:mainfrom
hfgd123:main

Conversation

@hfgd123
Copy link
Contributor

@hfgd123 hfgd123 commented May 9, 2022

No description provided.

Copy link
Member

@SCDerox SCDerox left a comment

Choose a reason for hiding this comment

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

one typo, and two recommendations for clearer™️ code

Comment on lines +15 to +17
if (moduleConfig.remove === true) {
await member.roles.remove(member.roles.cache.filter(role => !role.managed));
}
Copy link
Member

Choose a reason for hiding this comment

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

Could be even more simplified:

Suggested change
if (moduleConfig.remove === true) {
await member.roles.remove(member.roles.cache.filter(role => !role.managed));
}
if (moduleConfig.remove) await member.roles.remove(member.roles.cache.filter(role => !role.managed));

@SCDerox
Copy link
Member

SCDerox commented May 9, 2022

As a oss-contributor, you do not need to care about Priority-Request, please do not feel forced to implement them. (You can always ask them for a small donation or something if they really need a feature). Only implementing stuff you like and only if you enjoy implementing it.

@hfgd123 hfgd123 requested a review from SCDerox May 9, 2022 20:07
Copy link
Member

@SCDerox SCDerox left a comment

Choose a reason for hiding this comment

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

thx 4 fast fix, will merge it ^^

@SCDerox SCDerox merged commit 4dd8a0b into ScootKit:main May 9, 2022
@hfgd123
Copy link
Contributor Author

hfgd123 commented May 9, 2022

As a oss-contributor, you do not need to care about Priority-Request, please do not feel forced to implement them. (You can always ask them for a small donation or something if they really need a feature). Only implementing stuff you like and only if you enjoy implementing it.

1st it is not a very big thing to make, 2nd it is something I can do between my copy-pasting for my current project :hAA: so no problem for this change

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.

2 participants