Metadata-Version: 2.1
Name: sopel-mastodon
Version: 1.0.0
Summary: A Mastodon plugin for Sopel
Home-page: https://github.com/SnoopJ/sopel-mastodon
Author: SnoopJ
Author-email: snoopjedi@gmail.com
License: Eiffel Forum License, version 2
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: Eiffel Forum License (EFL)
Classifier: License :: OSI Approved :: Eiffel Forum License
Classifier: Topic :: Communications :: Chat :: Internet Relay Chat
Description-Content-Type: text/markdown
License-File: COPYING
Requires-Dist: sopel (>=7.1)

# sopel-mastodon

A Mastodon plugin for [Sopel](https://sopel.chat/).

This plugin looks for urls of the form `https://host/@user/12345` or
`https://host/@user@homehost/12345` and then tries to query a Mastodon API at
`host` for details about the toot in question.

## Installation

```bash
$ pip install sopel-mastodon
```

## Usage

Just send a link to a toot!

```irc
<SnoopJ> check out this toot: https://mastodon.social/@Gargron/1
<terribot> [mastodon] @Gargron: «Hello world»
```


Changes between 0.1.1 and 1.0.0
===============================

* Convert to entry-point plugin (courtesy dgw)
* Indicate attachments to a toot
* Use Sopel's built-in long-message truncation features
* Use as much of an IRC message as possible when summarizing a toot

Changes between 0.1.0 and 0.1.1
===============================

* Relax URL regex so that a list of Mastodon instance hostnames is not required
  * Any URL of the form `https://host/@user/12345` or
    `https://host/@user@homeinstance/12345` is considered as a possible
    Mastodon URL
