From 03f6f1b80c5133cd5962db20a6f230c061e2f4e3 Mon Sep 17 00:00:00 2001 From: w Date: Sun, 6 Jul 2025 15:17:47 -0300 Subject: [PATCH] comment --- bot/response.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bot/response.py b/bot/response.py index 0b3521b..bdcbd5b 100644 --- a/bot/response.py +++ b/bot/response.py @@ -181,6 +181,8 @@ def do_help(author: str) -> BotResponse: 'attachment_urls': None } +# Dueling + def duel_request(author: str, args: list[str]) -> BotResponse: '''Sends a duel request to another user.''' if len(args) == 0: @@ -207,12 +209,15 @@ def duel_request(author: str, args: list[str]) -> BotResponse: duel_type = 'competitive' db.insert_duel_request(author, target, duel_type) + return { 'message': f'{target} You have been challenged to a {duel_type} duel by \ {author}! Reply with `accept_duel` to accept the challenge.', 'attachment_urls': None } + + def delete_account(author: str) -> BotResponse: return { 'message': f'{author} ⚠️ This will permanently delete your account \