Skip to content

Commit

Permalink
Changes to be committed:
Browse files Browse the repository at this point in the history
	modified:   src/config/config.json
	modified:   src/slashCommands/information/imagine.js
  • Loading branch information
sandarutharuneth committed May 4, 2023
1 parent 5e9576c commit 212691f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/config/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"TOKEN": "YOUR TOKEN",
"API": "YOUR REPLICATE API KEY",
"CLIENTID": "YOUR BOT ID",
"OWNER": ["YOUR ID"]
}
3 changes: 2 additions & 1 deletion src/slashCommands/information/imagine.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const { SlashCommandBuilder, EmbedBuilder, ApplicationCommandOptionType, ActionRowBuilder, ButtonBuilder, ButtonStyle } = require("discord.js")
const config = require("../../config/config.json")


module.exports = {
Expand All @@ -18,7 +19,7 @@ module.exports = {
const Replicate = (await import("replicate")).default

const replicate = new Replicate({
auth: "add your replicate token here",
auth: config.API,
});

const output = await
Expand Down

0 comments on commit 212691f

Please sign in to comment.