diff --git a/README.md b/README.md
index 9260737..24d4a3a 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@ Create **Slash Commands**, **Text Commands** with few lines of code
```kotlin
command(name = "hello", description = "Say Hello") {
- val size = long("size", "Size of example") {
+ val size = int("size", "Size of example") {
optional { 6 }
}
@@ -72,7 +72,7 @@ app.reply(event)
io.github.sonmoosans
bjda
- 5.1.1
+ 5.2.0
```
@@ -101,7 +101,7 @@ val Panel = component {
row {
button("Confirm") {
id = onConfirm
- style = ButtonStyle.SUCCESS
+ success()
}
}
}
diff --git a/pom.xml b/pom.xml
index 5ccbd4f..c71e0f9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
io.github.sonmoosans
bjda
- 5.1.1
+ 5.2.0
jar
${project.groupId}:${project.artifactId}