Added working 4chan-gpt integration

This commit is contained in:
cameron committed 2023-03-08 00:30:50 -05:00
1 parent 133393bf38
commit 6f0040e9a5
4 files changed
+94 -14

No files matched your search

+2 -4
View File
@@ -17,18 +17,16 @@ class Pepe {
//returns a dank pepe
pepe()
{
let dankPepe = new Discord.RichEmbed();
let selection = Math.floor(Math.random() * (this.pepesList.length));
let dankPepe = new Discord.EmbedBuilder().setImage(this.pepesList[selection]);
dankPepe.setImage(this.pepesList[selection]);
return dankPepe;
}
async action(msg) {
let chan = msg.channel;
let pepeImg = this.pepe();
chan.send(pepeImg);
chan.send({ embeds: [pepeImg] });
}
}