This commit is contained in:
Skye 2023-03-10 20:49:54 +09:00
parent 4a6031b75e
commit 9ef7baec59
Signed by: me
GPG key ID: 0104BC05F41B77B8

View file

@ -19,11 +19,11 @@ 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 not by you will be prefixed with the username of the message author, 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 the username of the message author, followed by a colon.";
const client = new Client({ const client = new Client({
intents: [ intents: [
GatewayIntentBits.MessageContent, GatewayIntentBits.MessageContent,
GatewayIntentBits.GuildMessages, GatewayIntentBits.GuildMessages,
GatewayIntentBits.Guilds GatewayIntentBits.Guilds,
], ],
}); });
const configuration = new Configuration({ const configuration = new Configuration({