From 939a6bf72f6a7833bf362a538da2c741235622b4 Mon Sep 17 00:00:00 2001 From: harsh mahajan Date: Mon, 9 Nov 2026 12:57:19 +0530 Subject: [PATCH] fix(discord-command-bot): make the Python setup script run and send JSON --- python/discord_command_bot/src/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/discord_command_bot/src/setup.py b/python/discord_command_bot/src/setup.py index f8bc2cb50..707d41188 100644 --- a/python/discord_command_bot/src/setup.py +++ b/python/discord_command_bot/src/setup.py @@ -1,5 +1,5 @@ import requests, os -from .utils import throw_if_missing +from utils import throw_if_missing def setup(): @@ -16,7 +16,7 @@ def setup(): response = requests.post( REGISTER_API, - data={ + json={ "name": "hello", "description": "Hello World Command", },