Skip to content

Commit

Permalink
Release 0.3.1 - CTCP ACTION bugfix for nicks with punctuation
Browse files Browse the repository at this point in the history
  • Loading branch information
dgw committed Aug 28, 2024
1 parent 63373fd commit d4be518
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Changelog

### 0.3.1

* Fix CTCP ACTION compatibility with hyphenated nicks


### 0.3.0

* Add CTCP ACTION support, e.g. `/me slaps ____` (#2)
Expand Down
2 changes: 1 addition & 1 deletion 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.3.0"
version = "0.3.1"
description = "Plugin for Sopel that lets users slap each other in fun ways"
keywords = [
"sopel",
Expand Down
2 changes: 1 addition & 1 deletion sopel_slap/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def slap_command(bot, trigger):


@plugin.ctcp('ACTION')
@plugin.rule(r'^slaps (\w+)$')
@plugin.rule(r'^slaps (\S+)$')
def slap_action(bot, trigger):
"""Slap someone using the power of CTCP ACTION."""
target = trigger.group(1)
Expand Down

0 comments on commit d4be518

Please sign in to comment.