diff --git a/src/main.rs b/src/main.rs index 9c63eb1..3208575 100644 --- a/src/main.rs +++ b/src/main.rs @@ -65,8 +65,8 @@ async fn main() -> std::io::Result<()> { async fn init_cmds(client: &Client, token: &str) -> Result<(), reqwest::Error> { client - .get(format!("{BOT_URL}{token}/setMyCommands")) - .query(&[( + .post(format!("{BOT_URL}{token}/setMyCommands")) + .form(&[( "commands", serde_json::json!([ {