From 3d49ebbd5f9abf7a6c00179ed1b8a310fce87d9c Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Thu, 15 Sep 2022 13:38:17 -0700 Subject: [PATCH] Implemented seen command --- .idea/jarRepositories.xml | 5 + .idea/misc.xml | 3 + config/detekt/baseline.xml | 6 +- .../net/thauvin/erik/mobibot/Mobibot.kt | 16 ++- .../kotlin/net/thauvin/erik/mobibot/Utils.kt | 49 ++++++++ .../net/thauvin/erik/mobibot/commands/Info.kt | 8 +- .../erik/mobibot/commands/seen/Seen.kt | 118 ++++++++++++++++++ .../erik/mobibot/commands/seen/SeenNick.kt | 41 ++++++ .../mobibot/commands/tell/TellMessagesMgr.kt | 40 +----- .../thauvin/erik/mobibot/commands/InfoTest.kt | 4 +- .../erik/mobibot/commands/seen/SeenTest.kt | 75 +++++++++++ 11 files changed, 324 insertions(+), 41 deletions(-) create mode 100644 src/main/kotlin/net/thauvin/erik/mobibot/commands/seen/Seen.kt create mode 100644 src/main/kotlin/net/thauvin/erik/mobibot/commands/seen/SeenNick.kt create mode 100644 src/test/kotlin/net/thauvin/erik/mobibot/commands/seen/SeenTest.kt diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml index 710766b..0e29f96 100644 --- a/.idea/jarRepositories.xml +++ b/.idea/jarRepositories.xml @@ -16,6 +16,11 @@