Skip to content

Commit

Permalink
Fix Dm commands
Browse files Browse the repository at this point in the history
Signed-off-by: shedaniel <[email protected]>
  • Loading branch information
shedaniel committed May 27, 2021
1 parent ee396a1 commit 4afa94d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ object LinkieScripting {
when (trick.contentType) {
ContentType.SCRIPT -> {
val scriptingContext = context()
val member = evalContext.event.member.get()
val member by lazy { evalContext.event.member.get() }
trick.flags.forEach {
val flag = TrickFlags.flags[it]!!
if (trick.requirePermissionForFlags) {
Expand Down

0 comments on commit 4afa94d

Please sign in to comment.