diff --git a/src/components/IndividualClientPage.tsx b/src/components/IndividualClientPage.tsx index 588435f..234806a 100644 --- a/src/components/IndividualClientPage.tsx +++ b/src/components/IndividualClientPage.tsx @@ -150,14 +150,15 @@ const IndividualClientPage: React.FC = ({ clientId, t "system_id": selectedSystem }); } else if (action === "join") { - if (!payloadData?.server_id || !payloadData?.channel_id) { + if (!payloadData?.server_id || !payloadData?.channel_id || !selectedSystem) { setError("Please provide both Discord Server ID and Channel ID."); setLoading(false); return; } httpOptions.body = JSON.stringify({ "guild_id": payloadData.server_id, - "channel_id": payloadData.channel_id + "channel_id": payloadData.channel_id, + "system_id": selectedSystem }); } else if (action === "leave") { if (!payloadData?.guild_id) { @@ -335,9 +336,24 @@ const IndividualClientPage: React.FC = ({ clientId, t placeholder="Enter Discord Channel ID" /> +
+ + +
-