diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -46,3 +46,14 @@ For every message that goes to the channel, sircbot will run all scripts in /etc/sircbot.d/<#channel>/ with sender, message and channel name as arguments. +Sending message with Lua +------------------------ + +Example script which explains how to send a message with Lua + + local sircbot = require('sircbot') + local client = sircbot.connect('#channel') + + client:send("hello") + + |