Skip to content

Conversation

Th3F4nd1t
Copy link

No description provided.

@Th3F4nd1t
Copy link
Author

Th3F4nd1t commented Jul 2, 2025

no i didnt

(thing no workie yet 😞)

@Th3F4nd1t
Copy link
Author

Fixed it
example new config.yml

studentGroup: "student"
testificateGroup: "testificate"
builderGroup: "builder"
webhook: "https://discord.com/api/webhooks/..."
abandonForgiveness: 6000
countPerPeriod: 2
periodDays: 7
minSpacingHours: 24

@Nickster258
Copy link
Member

no i didnt

(thing no workie yet 😞)

💀

@Th3F4nd1t
Copy link
Author

nudge

}

val mostRecent = recentTrials.firstOrNull()
if (mostRecent != null) {
Copy link
Member

Choose a reason for hiding this comment

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

Could use something like .firstOrNull()?.let { it -> etcetcetc } to "kotlinify" this. https://kotlinlang.org/docs/scope-functions.html#let

}

// Warn of recent trials
if (!this.isTrialOkay(testificate.uniqueId)) {
Copy link
Member

Choose a reason for hiding this comment

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

It'd be nice if this gets stated and halts the start of the trial. Could be ignored with an extra argument, like /trialstart Nickster258 https://app.link confirm or something.

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