Spaces:
Sleeping
Sleeping
Merge branch 'main' into backend-setup
Browse files- backend/guild_configs.json +2 -2
- index.js +0 -2
backend/guild_configs.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"1515307986963267595": {
|
| 3 |
-
"active_text_model": "
|
| 4 |
-
"log_channel_id":
|
| 5 |
}
|
| 6 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"1515307986963267595": {
|
| 3 |
+
"active_text_model": "almanach/xlmr-chatgptdetect-noisy",
|
| 4 |
+
"log_channel_id": "1515373138937123007"
|
| 5 |
}
|
| 6 |
}
|
index.js
CHANGED
|
@@ -230,8 +230,6 @@ async function sendLogToDiscord(guild, embedToSend) {
|
|
| 230 |
async function handleAnalysis(interaction, userContent, targetMessage = null, explicitContentType = null) {
|
| 231 |
await interaction.deferReply({ flags: [MessageFlags.Ephemeral] });
|
| 232 |
|
| 233 |
-
const serverConfig = loadConfig(interaction.guildId);
|
| 234 |
-
|
| 235 |
try {
|
| 236 |
const { type, payload } = preparePayload(userContent, explicitContentType);
|
| 237 |
payload.guild_id = interaction.guildId;
|
|
|
|
| 230 |
async function handleAnalysis(interaction, userContent, targetMessage = null, explicitContentType = null) {
|
| 231 |
await interaction.deferReply({ flags: [MessageFlags.Ephemeral] });
|
| 232 |
|
|
|
|
|
|
|
| 233 |
try {
|
| 234 |
const { type, payload } = preparePayload(userContent, explicitContentType);
|
| 235 |
payload.guild_id = interaction.guildId;
|