Akka based library for writing Slack bots in Scala.
For examples, description and ideas take a look at our implementation or blog post.
Developed by Scalac
Akka based library for writing Slack bots in Scala.
License: MIT License
Akka based library for writing Slack bots in Scala.
For examples, description and ideas take a look at our implementation or blog post.
Developed by Scalac
Hi,
I'm using slack-scala-bot-core 0.2.1 which depends on spray-json 1..3.1.
No I've added a dependency to akka-http-spray-json 10.0.3 which depends on spray-json 1.3.3.
The problem is that there is an incompatibility in the API between spray-json 1.3.1 and 1.3.3 which causes an error :
java.lang.NoSuchMethodError: spray.json.StandardFormats$class.optionFormat(Lspray/json/StandardFormats;Lspray/json/JsonFormat;)Lspray/json/StandardFormats$OptionFormat;
A possible fix would be to recompile slack-scala-bot-core with spray-json 1.3.3 but that means I have to embed this version in my project.
Is there a possibility to customize or replace the Unmarshallers object used in ApiActor ?
Thank you
The first param of OutboundMessage
is a channel id. If the target channel name is known, but not the id, how can we obtain the id?
If the text contains newline or "
, it will break the JSON format.
Example:
val response = OutboundMessage(message.channel, s"""ha","escape":"bad""")
publish(response)
Expected Payload:
{
"id": 1,
"type": "message",
"channel": "D08GG2WJF",
"text": "ha\",\"escape\":\"bad"
}
Actual Payload:
{
"id": 1,
"type": "message",
"channel": "D08GG2WJF",
"text": "ha","escape":"bad"
}
I would like to added threaded message support. This will allow bots to respond to a conversation and encapsulate the conversation in a thread. This type of encapsulation makes it a lot easier to follow a conversation on a particular topic, and removes a lot of noise from the channel.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.