mirror of
https://git.femboyfinancial.jp/james/FemScoreboard.git
synced 2025-10-23 10:15:33 -07:00
Move command to its own folder
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { InteractionResponse, Message, MessageComponentInteraction, SlashCommandBuilder } from 'discord.js';
|
||||
import { ChatMessage, llamacpp, streamText } from 'modelfusion';
|
||||
import { logInfo, logError } from '../../logging';
|
||||
import { logInfo, logError } from '../../../logging';
|
||||
|
||||
const llamaCppServer = llamacpp.Api({
|
||||
baseUrl: {
|
||||
@@ -49,7 +49,7 @@ async function llamaChat(interaction: MessageComponentInteraction)
|
||||
}
|
||||
}
|
||||
|
||||
export default {
|
||||
export = {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('chat')
|
||||
.setDescription('Miku adds to the conversation with an AI-generated response.'),
|
Reference in New Issue
Block a user