Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisfiregamer1 committed Mar 15, 2024
2 parents b69e222 + 2ac7dac commit cac6fea
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .idx/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

gc/
12 changes: 12 additions & 0 deletions .idx/dev.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

{ pkgs, ... }: {

# Which nixpkgs channel to use.
channel = "stable-23.11"; # or "unstable"

# Use https://search.nixos.org/packages to find packages
packages = [
pkgs.deno
];

}
4 changes: 3 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/// <reference lib="deno.unstable" />

import * as chatgpt from "./bots/chatgpt.ts";
// import * as bing_chat from "./bots/bing_chat.ts";
import * as gpt4 from "./bots/gpt_4.ts";
Expand Down Expand Up @@ -593,7 +595,7 @@ client.on("messageCreate", async (message) => {
await claude3.send(
curmsgs,
message.content,
async (type: string, resp: types.llmFileResponseClaude) => {
(type: string, resp: types.llmFileResponseClaude) => {
console.log(resp);
if (type === "complete") {
const messagechunks = splitStringIntoChunks(
Expand Down
4 changes: 0 additions & 4 deletions slashcode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,9 @@ import {
ActionRowBuilder,
ColorResolvable,
EmbedBuilder,
ModalActionRowComponentBuilder,
ModalBuilder,
PermissionFlagsBits,
SlashCommandBuilder,
StringSelectMenuBuilder,
TextInputBuilder,
TextInputStyle,
} from "npm:discord.js";

const commands: SlashCommandBuilder[] = [];
Expand Down

0 comments on commit cac6fea

Please sign in to comment.