Skip to content

Commit

Permalink
Release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dgw committed Jun 9, 2024
1 parent fe08162 commit 92595cb
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 11 deletions.
12 changes: 12 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## Changelog

### 0.2.0

* Future-proofing for Sopel 8 (#1)
* Packaging modernization (#1)
* Correct minimum Sopel version reflecting use of `sopel.plugin` imports


### 0.1.0

Initial package release.
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,26 @@ passing the appropriate config name to `-c` if you have multiple bots._

## Commands

* **.slap** — Make the bot slap you
* **.slap nickname [reason]** — Slap someone else, with an optional reason
<dl>
<dt>.slap</dt>
<dd>Make the bot slap you</dd>

<dt>.slap nickname [reason]</dt>
<dd>Slap someone else, with an optional reason</dd>
</dl>

_If your bot has a non-default `prefix`, substitute it for `.` above._

## Credits

This is based on the original `slap.py` from
[sopel-extras](https://github.com/sopel-irc/sopel-extras) by Michael Yanovich,
dating back to the late '00s/early '10s. It's been rewritten more or less from
scratch to do things in the modern Sopel way. The only meaningful behavior
change was dropping substitution of the caller's nick for `me` and `myself`,
as it's quite possible for a real person to use either of those as a nick and
_no one_\* should be safe from slaps!
This is based on [the original `slap.py`][original-slap.py] by Michael Yanovich
from [sopel-extras][], dating back to the late '00s/early '10s. It's been
rewritten more or less from scratch to do things in the modern Sopel way. The
only meaningful behavior change was dropping substitution of the caller's nick
for `me` and `myself`, as it's quite possible for a real person to use either of
those as a nick and _no one_\* should be safe from slaps!

\* — No one except the bot and its admins, that is.

[original-slap.py]: https://github.com/sopel-irc/sopel-extras/blob/81ee756223474cacdac6f5847772d6085d006a50/slap.py
[sopel-extras]: https://github.com/sopel-irc/sopel-extras
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespaces = false

[project]
name = "sopel-slap"
version = "0.2.0.dev0"
version = "0.2.0"
description = "Plugin for Sopel that lets users slap each other in fun ways"
keywords = [
"sopel",
Expand All @@ -32,7 +32,7 @@ authors = [
readme = "README.md"
license = { text="EFL-2.0" }
classifiers = [
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: Eiffel Forum License (EFL)",
Expand Down

0 comments on commit 92595cb

Please sign in to comment.