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 string The paste id that you want to download.
Returns
- put(string [, name])Source
Put a string on pastebin.
Parameters
- string string The string that you want to put on pastebin.
- name? string The name of the paste, defaults to "CC:T Paste".
Returns
- string | nil A string containing the id of the paste.