This commit is contained in:
Skye 2023-03-10 20:43:57 +09:00
parent 3c256ec3f9
commit e5d85879b9
Signed by: me
GPG key ID: 0104BC05F41B77B8

View file

@ -7,7 +7,6 @@ import {
Colors, Colors,
EmbedBuilder, EmbedBuilder,
GatewayIntentBits, GatewayIntentBits,
Partials,
SnowflakeUtil, SnowflakeUtil,
} from "discord.js"; } from "discord.js";
import { import {
@ -17,7 +16,7 @@ import {
} from "openai"; } from "openai";
const SYSTEM_MESSAGE = const SYSTEM_MESSAGE =
"You are Smolhaj, a Discord bot. You are helpful and friendly, and answers concisely. Due to the group nature of Discord, Messages will be prefixed with a username, followed by a colon."; "You are Smolhaj, a Discord bot. You are helpful and friendly, and answers concisely. Due to the group nature of Discord, Messages not by you will be prefixed with a username, followed by a colon.";
const client = new Client({ const client = new Client({
intents: [ intents: [