Skip to content

carlosdagos/acl-slack

master
Switch branches/tags
Code
This branch is 4 commits ahead of m0cchi:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 

Slack API for Allegro Common Lisp

This is a fork

This is a fork of https://github.com/m0cchi/cl-slack

This fork is WIP.

It's intended to be used only in AllegroCL and has no external dependencies.

Sample code

(ql:quickload :cl-slack :silent t)

(defvar token "xxxx-xxx-xxx-xxx")
(defvar channel "C000000")
(defvar client (make-instance 'cl-slack.core:slack-client
                              :token token))

(defun main (&rest argv)
  (declare (ignorable argv))
  (cl-slack.chat:post-message client
                              channel
                              (car argv)
                              '(("as_user" . "true"))))

TODO

  • Provide the client with a socket so it's not creating sockets willy-nilly and just reusing one (nice to use with socket pools later)
  • postMessage should actually use POST
  • include JSON lib (maybe Jonathan?), right now this thing is just returining text responses
  • Include support for rich message formatting

About

Fork of cl-slack, a Slack API for Common Lisp. This fork is intended for AllegroCL and has no external dependencies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Common Lisp 100.0%