From b22657d09f12baea904915c15d37f75fcca2b68f Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 24 Aug 2024 23:49:19 +0800 Subject: [PATCH] :sparkles: Bots aka. automated accounts --- .idea/workspace.xml | 20 +++--- pkg/internal/server/api/bots_api.go | 90 +++++++++++++++++++++++++++ pkg/internal/server/api/index.go | 7 +++ pkg/internal/server/api/notify_api.go | 39 +++++++----- pkg/internal/services/bot_token.go | 2 +- pkg/internal/services/bots.go | 24 +++++++ pkg/internal/services/clients.go | 12 ++++ pkg/internal/services/ticket.go | 5 +- 8 files changed, 168 insertions(+), 31 deletions(-) create mode 100644 pkg/internal/server/api/bots_api.go create mode 100644 pkg/internal/services/bots.go diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d6000e7..4a0ec98 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,19 +4,15 @@