Summon

From NURDspace
Revision as of 17:52, 8 August 2022 by Flok (talk | contribs) (Created page with "This is a ghbot service. It allows people to do "!summon <nickname> some text" in #nurds on irc. <nowiki> ghbot@harkbot:~/nurdspace-ircbot-plugin-python-example$ sqlite3 su...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a ghbot service.

It allows people to do "!summon <nickname> some text" in #nurds on irc.

ghbot@harkbot:~/nurdspace-ircbot-plugin-python-example$ sqlite3 summon.db  
SQLite version 3.34.1 2021-01-20 14:10:07
Enter ".help" for usage hints.
sqlite> .schema
CREATE TABLE entities(nick varchar(255) not null primary key, email varchar(255), jabber varchar(255));

Please note that 'nick' must be all lowercase (in the sqlite database that is). After that, kill -9 of the summon.py process to make sure it has the latest entries :-/