pastebin
Provides a pastebin api to interact with pastebin without using the pastebin shell command.
| get(id) | Get a string from pastebin. |
|---|---|
| put(string [, name]) | Put a string on pastebin. |
- get(id)Source
Get a string from pastebin.
Parameters
- id
stringThe paste id that you want to download.
Returns
- id
- put(string [, name])Source
Put a string on pastebin.
Parameters
- string
stringThe string that you want to put on pastebin. - name?
stringThe name of the paste, defaults to "CC:T Paste".
Returns
string| nil A string containing the id of the paste.
- string