feat(dgn-chatops): !pm
shorthand for !probe_meet
All checks were successful
build configuration / build_vault01 (push) Successful in 1m13s
build configuration / build_storage01 (push) Successful in 1m16s
build configuration / build_web02 (push) Successful in 1m18s
build configuration / build_compute01 (push) Successful in 1m28s
build configuration / build_web01 (push) Successful in 1m43s
lint / check (push) Successful in 24s
build configuration / build_geo01 (push) Successful in 1m2s
build configuration / build_rescue01 (push) Successful in 1m6s
build configuration / build_bridge01 (push) Successful in 1m1s
build configuration / build_geo02 (push) Successful in 1m4s
build configuration / push_to_cache_storage01 (push) Successful in 1m25s
build configuration / push_to_cache_web02 (push) Successful in 1m21s
build configuration / push_to_cache_rescue01 (push) Successful in 1m17s
build configuration / push_to_cache_geo01 (push) Successful in 1m29s
build configuration / push_to_cache_compute01 (push) Successful in 1m55s
build configuration / push_to_cache_geo02 (push) Successful in 1m20s
build configuration / push_to_cache_bridge01 (push) Successful in 1m25s
build configuration / push_to_cache_web01 (push) Successful in 2m16s
All checks were successful
build configuration / build_vault01 (push) Successful in 1m13s
build configuration / build_storage01 (push) Successful in 1m16s
build configuration / build_web02 (push) Successful in 1m18s
build configuration / build_compute01 (push) Successful in 1m28s
build configuration / build_web01 (push) Successful in 1m43s
lint / check (push) Successful in 24s
build configuration / build_geo01 (push) Successful in 1m2s
build configuration / build_rescue01 (push) Successful in 1m6s
build configuration / build_bridge01 (push) Successful in 1m1s
build configuration / build_geo02 (push) Successful in 1m4s
build configuration / push_to_cache_storage01 (push) Successful in 1m25s
build configuration / push_to_cache_web02 (push) Successful in 1m21s
build configuration / push_to_cache_rescue01 (push) Successful in 1m17s
build configuration / push_to_cache_geo01 (push) Successful in 1m29s
build configuration / push_to_cache_compute01 (push) Successful in 1m55s
build configuration / push_to_cache_geo02 (push) Successful in 1m20s
build configuration / push_to_cache_bridge01 (push) Successful in 1m25s
build configuration / push_to_cache_web01 (push) Successful in 2m16s
Bumped minor version of Takumi for non-breaking changes. Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
parent
1c6124f376
commit
6b30a95fbb
3 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "takumi"
|
name = "takumi"
|
||||||
version = "1.0.0"
|
version = "1.1.0"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Ryan Lahfa", email = "ryan@dgnum.eu" },
|
{ name = "Ryan Lahfa", email = "ryan@dgnum.eu" },
|
||||||
]
|
]
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
let
|
let
|
||||||
takumi = python3.pkgs.buildPythonPackage rec {
|
takumi = python3.pkgs.buildPythonPackage rec {
|
||||||
pname = "takumi";
|
pname = "takumi";
|
||||||
version = "1.0.0";
|
version = "1.1.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
|
@ -75,7 +75,7 @@ class Server(BaseServer):
|
||||||
# In case `!probe_meet <title> <team> <time_1> <time_2> … <time_N> [<timezone>]`
|
# In case `!probe_meet <title> <team> <time_1> <time_2> … <time_N> [<timezone>]`
|
||||||
if (command := self.extract_valid_command(line)) is not None:
|
if (command := self.extract_valid_command(line)) is not None:
|
||||||
text = command.lstrip(TRIGGER)
|
text = command.lstrip(TRIGGER)
|
||||||
if text.startswith('probe_meet'):
|
if text.startswith('probe_meet') or text.startswith('pm'):
|
||||||
args = text.split(' ')
|
args = text.split(' ')
|
||||||
if len(args) < 4:
|
if len(args) < 4:
|
||||||
await self.send(build("PRIVMSG", [line.params[0], "usage is !probe_meet <title> <team> <time_1> [<time_2> <time_3> … <time_N>] ; time is in [00-hour-]DDMMYYYY format."]))
|
await self.send(build("PRIVMSG", [line.params[0], "usage is !probe_meet <title> <team> <time_1> [<time_2> <time_3> … <time_N>] ; time is in [00-hour-]DDMMYYYY format."]))
|
||||||
|
|
Loading…
Reference in a new issue