remove line

This commit is contained in:
Nebel 2023-01-30 09:04:15 +09:00 committed by GitHub
parent 715d70ae58
commit fb31c72690
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ const app = new App({ token, receiver });
app.event("app_mention", async ({ event, say }) => {
const prompt = `語尾を「にゃん」に。${event.text
.replace(/<@[0-9A-Z]+>/, "")
.trim()}\n\n`;
.trim()}\n`;
const text = await gpt(prompt);
await say(text);
});