Skip to content

Commit

Permalink
update channel
Browse files Browse the repository at this point in the history
  • Loading branch information
Yinnii committed Dec 8, 2023
1 parent c1eb969 commit cbcf78e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -695,14 +695,15 @@ public Response biwibot(@FormDataParam("msg") String msg, @FormDataParam("organi
return Response.ok().entity(response.toString()).build();
}

public JSONObject biwibot(@FormDataParam("msg") String msg, @FormDataParam("channel") String channel, @FormDataParam("sbfmUrl") String sbfmUrl){
public JSONObject biwibot(@FormDataParam("msg") String msg, @FormDataParam("channel") String orgaChannel, @FormDataParam("sbfmUrl") String sbfmUrl){
System.out.println("Msg:" + msg);
System.out.println("Channel:" + channel);
Boolean contextOn = false;
Boolean contextOff = true;
JSONObject chatResponse = new JSONObject();
JSONObject newEvent = new JSONObject();
JSONObject error = new JSONObject();
String channel = orgaChannel.split("-")[1];
if(!msg.equals("!exit")){
try {
new Thread(new Runnable() {
Expand Down

0 comments on commit cbcf78e

Please sign in to comment.