Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
Bug Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sandarutharuneth authored Jun 12, 2022
1 parent e6617c3 commit 6279ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slash/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ module.exports = {
bonusEntries: [
{
// Members who have the role which is assigned to "rolename" get the amount of bonus entries which are assigned to "BonusEntries"
bonus: new Function('member', `return member.roles.cache.some((r) => r.name === \'${bonusRole.name}\') ? ${bonusEntries} : null`),
bonus: new Function('member', `return member.roles.cache.some((r) => r.name === \'${bonusRole ?.name}\') ? ${bonusEntries} : null`),
cumulative: false
}
],
Expand Down

0 comments on commit 6279ddb

Please sign in to comment.