Added working 4chan-gpt integration
This commit is contained in:
1 parent
133393bf38
commit
6f0040e9a5
4 files changed
+94
-14
No files matched your search
@@ -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] });
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user