Skip to content

Commit b2bd753

Browse files
DaRacciRacci
authored andcommitted
fix: missed a casting error
1 parent bbc9b08 commit b2bd753

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/kotlin/dev/racci/elixir/extensions/RoleSelector.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class RoleSelector: Extension() {
8383
rsl["channel"] as Long,
8484
rsl["autoRemoveOnLimit", false] as Boolean,
8585
rsl["attachment", ""] as String,
86-
rsl["limit", -1] as Long,
86+
rsl["limit", -1L] as Long,
8787
rsl["removable", true] as Boolean,
8888
rsl["role"] as TomlArray?
8989
)

0 commit comments

Comments
 (0)