Skip to content

midsum-salrux/quinnat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quinnat

Quinnat is a library for building urbit chatbots, built with Urlock.

Here's how to use it:

#!/usr/bin/python

import quinnat

q = quinnat.Quinnat(
    "http://localhost:8080", # or wherever your ship is running
    "sampel-palnet",
    "your-+code-here",
)

q.connect()

q.post_message("palnet-sampel", "my-chat-1234", {"text": "Hello world!"})

def say_hello(message, replier):
    if "hello bot" in message.full_text:
        replier({"text": "Hello " + message.author})

q.listen(say_hello)

About

Quinnat is a library for building urbit chatbots with python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages