diff --git a/src/main/groovy/eu/m724/chatapi/example/ExampleSource.groovy b/src/main/groovy/eu/m724/chatapi/example/ExampleSource.groovy index b8b8078..680357e 100644 --- a/src/main/groovy/eu/m724/chatapi/example/ExampleSource.groovy +++ b/src/main/groovy/eu/m724/chatapi/example/ExampleSource.groovy @@ -133,7 +133,7 @@ class ExampleSource implements ChatSource { response = "I'd prefer not to engage with or respond to that particular combination of letters, as it can be associated with hate groups. Is there something else I can assist you with instead?" break case 11: - response = "Nice to meet you, " + options.getOptionValue("name", String::class) + ". How can I help you today?" + response = "Nice to meet you, " + options.getStringValue("name") + ". How can I help you today?" break case 12: if (messagesCount > 1) {