You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be a bit more difficult to implement this for embedded messages, but they should both be just fine.
Notes
Below is what it currently is. Might want to figure out how to work around the for await in TypeScript.
Sample from messageNormal.ts
// run query based on stream preference, true = stream, false = blockif(stream){response=awaitstreamResponse(params)forawait(constportionofresponse){// append token to messageresult+=portion.message.content// exceeds handled lengthif(result.length>2000){message.channel.send(`Response length ${result.length} has exceeded Discord maximum.\n\nLong Stream messages not supported.`)break// stop stream}// resent current output, THIS WILL BE SLOW due to discord limits!sentMessage.edit(result||'No Content Yet...')}}else{ ... }
The text was updated successfully, but these errors were encountered:
Issue
Notes
for await
in TypeScript.Sample from
messageNormal.ts
The text was updated successfully, but these errors were encountered: