# amoorion.plugins.dryrun

dryrun: a platform that only remembers, to try amoorion without accounts.

### *class* amoorion.plugins.dryrun.DryRun(vault, view=None)

Bases: [`Plugin`](amoorion.plugins.base.html.md#amoorion.plugins.base.Plugin)

A platform that sends nothing, to try anything without an account.

It can do everything, and keeps its messages for as long as the process runs.

* **Parameters:**
  * **vault** ([*Vault*](amoorion.vault.base.html.md#amoorion.vault.base.Vault))
  * **view** ([*View*](amoorion.core.html.md#amoorion.core.View) *|* *None*)

#### post(post)

Keep the post; its title and text become one text, as most platforms do.

* **Parameters:**
  **post** ([*Post*](amoorion.models.base.html.md#amoorion.models.base.Post))
* **Return type:**
  [*Message*](amoorion.models.base.html.md#amoorion.models.base.Message)

#### read(limit=20)

The kept messages, newest first.

* **Parameters:**
  **limit** (*int*)
* **Return type:**
  list[[*Message*](amoorion.models.base.html.md#amoorion.models.base.Message)]

#### reply(to, text)

Keep the answer, pointing at the message it answers.

* **Parameters:**
  * **to** ([*Message*](amoorion.models.base.html.md#amoorion.models.base.Message))
  * **text** (*str*)
* **Return type:**
  [*Message*](amoorion.models.base.html.md#amoorion.models.base.Message)

#### delete(message)

Forget a message; an unknown one is an error, as on a real platform.

* **Parameters:**
  **message** ([*Message*](amoorion.models.base.html.md#amoorion.models.base.Message))
* **Return type:**
  None

### Modules

| [`base`](amoorion.plugins.dryrun.base.html.md#module-amoorion.plugins.dryrun.base)   | dryrun plugin: keeps what was posted in memory, sends nothing anywhere.   |
|---------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|
