Changed to deno suport
This commit is contained in:
parent
f69802edc9
commit
785afbdec5
28 changed files with 531 additions and 88 deletions
|
@ -1,6 +1,6 @@
|
|||
import { SlashCommandBuilder, ChatInputCommandInteraction, ActionRowBuilder, ButtonBuilder, ButtonStyle } from "discord.js";
|
||||
import { getQotd, MistralMessage, Models, ReturnedValue, Prompts } from "../../libs/mistralai.js";
|
||||
import { qotdEmbed, qotdconfirm, confirmedQotd, canceledQotd, errorEmbed } from "../../libs/discord.js";
|
||||
import { SlashCommandBuilder, ChatInputCommandInteraction, ActionRowBuilder, ButtonBuilder, ButtonStyle } from "npm:discord.js";
|
||||
import { getQotd, MistralMessage, Models, ReturnedValue, Prompts } from "../../libs/mistralai.ts";
|
||||
import { qotdEmbed, qotdconfirm, confirmedQotd, canceledQotd, errorEmbed } from "../../libs/discord.ts";
|
||||
|
||||
export default {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { SlashCommandBuilder, CommandInteraction, EmbedBuilder } from "discord.js";
|
||||
import { SlashCommandBuilder, CommandInteraction, EmbedBuilder } from "npm:discord.js";
|
||||
|
||||
export default {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { SlashCommandBuilder, CommandInteraction } from "discord.js";
|
||||
import { helpEmbed } from "../../libs/discord.js";
|
||||
import { SlashCommandBuilder, CommandInteraction } from "npm:discord.js";
|
||||
import { helpEmbed } from "../../libs/discord.ts";
|
||||
|
||||
export default {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { SlashCommandBuilder, CommandInteraction } from "discord.js";
|
||||
import { SlashCommandBuilder, CommandInteraction } from "npm:discord.js";
|
||||
|
||||
export default {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SlashCommandBuilder, CommandInteraction } from "discord.js";
|
||||
import { connectToDb, getUser } from "../../libs/mysql.js";
|
||||
import { errorEmbed, quotaEmbed } from "../../libs/discord.js";
|
||||
import { SlashCommandBuilder, CommandInteraction } from "npm:discord.js";
|
||||
import { connectToDb, getUser } from "../../libs/mysql.ts";
|
||||
import { errorEmbed, quotaEmbed } from "../../libs/discord.ts";
|
||||
|
||||
export default {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { SlashCommandBuilder, CommandInteraction, EmbedBuilder } from "discord.js";
|
||||
import { SlashCommandBuilder, CommandInteraction, EmbedBuilder } from "npm:discord.js";
|
||||
|
||||
export default {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SlashCommandBuilder, ChatInputCommandInteraction, PermissionFlagsBits } from "discord.js";
|
||||
import { connectToDb, getGuild, setFeature } from "../../libs/mysql.js";
|
||||
import { errorEmbed, successEmbed } from "../../libs/discord.js";
|
||||
import { SlashCommandBuilder, ChatInputCommandInteraction, PermissionFlagsBits } from "npm:discord.js";
|
||||
import { connectToDb, getGuild, setFeature } from "../../libs/mysql.ts";
|
||||
import { errorEmbed, successEmbed } from "../../libs/discord.ts";
|
||||
|
||||
export default {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SlashCommandBuilder, CommandInteraction, PermissionsBitField } from "discord.js";
|
||||
import { connectToDb, getGuild, addGuild } from "../../libs/mysql.js"
|
||||
import { errorEmbed, successEmbed } from "../../libs/discord.js";
|
||||
import { SlashCommandBuilder, CommandInteraction, PermissionsBitField } from "npm:discord.js";
|
||||
import { connectToDb, getGuild, addGuild } from "../../libs/mysql.ts"
|
||||
import { errorEmbed, successEmbed } from "../../libs/discord.ts";
|
||||
|
||||
export default {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SlashCommandBuilder, ChatInputCommandInteraction, PermissionsBitField } from "discord.js";
|
||||
import { connectToDb, getGuild, setAdminRole } from "../../libs/mysql.js"
|
||||
import { errorEmbed, successEmbed } from "../../libs/discord.js";
|
||||
import { SlashCommandBuilder, ChatInputCommandInteraction, PermissionsBitField } from "npm:discord.js";
|
||||
import { connectToDb, getGuild, setAdminRole } from "../../libs/mysql.ts"
|
||||
import { errorEmbed, successEmbed } from "../../libs/discord.ts";
|
||||
|
||||
|
||||
export default {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SlashCommandBuilder, ChatInputCommandInteraction, PermissionFlagsBits } from "discord.js";
|
||||
import { connectToDb, getGuild, getWelcomeConfig, addWelcomeConfig, setWelcomePropertiy } from "../../libs/mysql.js";
|
||||
import { errorEmbed, successEmbed } from "../../libs/discord.js";
|
||||
import { SlashCommandBuilder, ChatInputCommandInteraction, PermissionFlagsBits } from "npm:discord.js";
|
||||
import { connectToDb, getGuild, getWelcomeConfig, addWelcomeConfig, setWelcomePropertiy } from "../../libs/mysql.ts";
|
||||
import { errorEmbed, successEmbed } from "../../libs/discord.ts";
|
||||
|
||||
export default {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { SlashCommandBuilder, CommandInteraction, PermissionFlagsBits, EmbedBuilder, AttachmentBuilder } from "discord.js";
|
||||
import { connectToDb, getGuild, getWelcomeConfig } from "../../libs/mysql.js";
|
||||
import { errorEmbed } from "../../libs/discord.js";
|
||||
import { createWelcomeImage } from "../../libs/imageGeneration.js"
|
||||
import { SlashCommandBuilder, CommandInteraction, PermissionFlagsBits, EmbedBuilder, AttachmentBuilder } from "npm:discord.js";
|
||||
import { connectToDb, getGuild, getWelcomeConfig } from "../../libs/mysql.ts";
|
||||
import { errorEmbed } from "../../libs/discord.ts";
|
||||
import { createWelcomeImage } from "../../libs/imageGeneration.ts"
|
||||
|
||||
export default {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SlashCommandBuilder, ChatInputCommandInteraction } from "discord.js";
|
||||
import { getChatResponse, MistralMessage, Models, InputPrice, OutputPrice, ReturnedValue, Prompts } from "../../libs/mistralai.js";
|
||||
import { User, connectToDb, addUser, getUser, incrementQuota } from "../../libs/mysql.js";
|
||||
import { SlashCommandBuilder, ChatInputCommandInteraction } from "npm:discord.js";
|
||||
import { getChatResponse, MistralMessage, Models, InputPrice, OutputPrice, ReturnedValue, Prompts } from "../../libs/mistralai.ts";
|
||||
import { User, connectToDb, addUser, getUser, incrementQuota } from "../../libs/mysql.ts";
|
||||
|
||||
export default {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue