commit
f73720ea7e
@ -1,2 +1,3 @@
|
||||
BOTUSERNAME=Your bot account username
|
||||
PASSWORD=Your bot account password
|
||||
PASSWORD=Your bot account password
|
||||
DATABASEURL=The url of your mongoDB database (can be local or cluster and need to be URL friendly)
|
@ -0,0 +1,19 @@
|
||||
const Command = require("../../Structure/Command.js");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "help",
|
||||
description: "Return the commands list.",
|
||||
category: "Bot",
|
||||
enabled: true,
|
||||
aliases: ["?"],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
message.chat.sendMessage("Here are the commands you can use ! https://github.com/Mr-KayJayDee/instagram-bot#available-commands")
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "ad",
|
||||
description: "Display an ad image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Ad().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "affect",
|
||||
description: "Return an affect image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Affect().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "beautiful",
|
||||
description: "Return a beautiful image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Beautiful().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "blur",
|
||||
description: "Return a blured image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Blur().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "circle",
|
||||
description: "Return a circled image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Circle().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "confusedstonk",
|
||||
description: "Return a confused stonk image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.ConfusedStonk().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "delete",
|
||||
description: "Return a dalete image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Delete().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "facepalm",
|
||||
description: "Return a facepalm.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Facepalm().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "gay",
|
||||
description: "Return a gay image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Gay().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "greyscale",
|
||||
description: "Return a greyscaled image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Greyscale().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "hitler",
|
||||
description: "Return an hitler image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Hitler().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "invert",
|
||||
description: "Returnan inverted image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Invert().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "jail",
|
||||
description: "Return a jail image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Jail().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,24 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "lisapresentation",
|
||||
description: "Return a lisa presentation image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: ["lisa"],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let text = args.join(" ")
|
||||
if(!text) text = message.author.username;
|
||||
let img = await new DIG.LisaPresentation().getImage(text);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "mms",
|
||||
description: "Return an m&ms image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Mms().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "notstonk",
|
||||
description: "Return a not stonk image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.NotStonk().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "poutine",
|
||||
description: "Return a poutine image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Poutine().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "rip",
|
||||
description: "Return a RIP image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Rip().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "sepia",
|
||||
description: "Return a sepia image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Sepia().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "stonk",
|
||||
description: "Return a stonk image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Stonk().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "tatoo",
|
||||
description: "Return a tatoo image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Tatoo().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "thomas",
|
||||
description: "Return a thomas image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Thomas().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "trash",
|
||||
description: "Return a trash image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Trash().getImage(avatar);
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
let Command = require(`../../Structure/Command.js`);
|
||||
const DIG = require("discord-image-generation");
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: "wanted",
|
||||
description: "Return a wanted image.",
|
||||
category: "Images",
|
||||
enabled: true,
|
||||
aliases: [],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
let avatar = message.author.avatarURL;
|
||||
let img = await new DIG.Wanted().getImage(avatar, "$");
|
||||
message.chat.sendMessage("Please wait we're generating your image...");
|
||||
message.chat.sendPhoto(img);
|
||||
}
|
||||
};
|
@ -0,0 +1,33 @@
|
||||
const Command = require(`../../Structure/Command.js`);
|
||||
|
||||
module.exports = class extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: `myinfos`,
|
||||
description: `Return some informations about you.`,
|
||||
category: `Utils`,
|
||||
enabled: true,
|
||||
aliases: [`me`],
|
||||
cooldown: 3,
|
||||
dmOnly: false,
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
message.author.fetch().then(e => {
|
||||
message.chat.sendMessage(
|
||||
`Full Name: ${message.author.fullName}
|
||||
Username: ${message.author.username}
|
||||
ID: ${message.author.id}
|
||||
Biography:\n${message.author.biography}
|
||||
Followers: ${message.author.followerCount}
|
||||
Following: ${message.author.followingCount}
|
||||
Business: ${message.author.isBusiness}
|
||||
Verified: ${message.author.isVerified}
|
||||
Private: ${message.author.isPrivate}
|
||||
Number Of Posts: ${message.author.mediaCount}
|
||||
Number Of IGTV posts: ${message.author.totalIgtvVideos}
|
||||
`)
|
||||
})
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
const mongoose = require("mongoose"),
|
||||
Schema = mongoose.Schema;
|
||||
|
||||
module.exports = mongoose.model("GroupMembers", new Schema({
|
||||
id: String,
|
||||
groupID: String,
|
||||
}));
|
@ -0,0 +1,10 @@
|
||||
const mongoose = require("mongoose"),
|
||||
Schema = mongoose.Schema;
|
||||
|
||||
module.exports = mongoose.model("Groups", new Schema({
|
||||
groupID: String,
|
||||
reminds: {
|
||||
type: Array,
|
||||
default: []
|
||||
},
|
||||
}));
|
@ -0,0 +1,10 @@
|
||||
const mongoose = require("mongoose"),
|
||||
Schema = mongoose.Schema;
|
||||
|
||||
module.exports = mongoose.model("Users", new Schema({
|
||||
id: String,
|
||||
reminds: {
|
||||
type: Array,
|
||||
default: []
|
||||
},
|
||||
}));
|
Loading…
Reference in New Issue