Skip to content

Commit df070d6

Browse files
committed
pasta docs
1 parent 870245a commit df070d6

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

DOCUMENTATION.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* [colours / formatting](#colours--formatting)
1414
* [dealing with time](#dealing-with-time)
1515
* [reading logs](#reading-logs)
16+
* [text / HTML hosting](#text--html-hosting)
1617
* [manipulating commands](#manipulating-commands)
1718
* [authentication](#authentication)
1819
* [modules](#modules)
@@ -235,7 +236,7 @@ async versions of the SQLite API
235236

236237
change the namespace the key-value and SQLite stores use. this gives the events full access to all command data
237238

238-
#### webhooks
239+
### webhooks
239240

240241
multiple webhooks can be created on the fly to allow pushing data to the bot
241242

@@ -509,6 +510,12 @@ pull random messages from the log
509510

510511
takes a regex as a *string* to search the database with
511512

513+
### text / HTML hosting
514+
515+
<a name="IRC-makePasta" href="#IRC-makepasta">#</a> IRC.<b>makePasta</b>(<i>name</i>, <i>content</i>)
516+
517+
host some content as HTML or text. returns URLs for each
518+
512519
### manipulating commands
513520

514521
used in the `command` command and subcommands. commands can also be manipulated via the web frontend

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ nibblrjr is an IRC bot framework for creating custom behaviour dynamically
77
* reloadable config
88
* events API
99
* webhooks API
10+
* text / HTML hosting
1011
* safe arbitrary npm module use
1112
* databases; key-value store, SQLite API
1213
* command module format

0 commit comments

Comments
 (0)