Added reply support to image detection, added stealth plugin to screenshot, made credits static, more fixes
This commit is contained in:
parent
ca6cffa67c
commit
94b0bc19a4
7 changed files with 294 additions and 121 deletions
|
@ -2,8 +2,6 @@ const client = require("../utils/client.js");
|
|||
const { version } = require("../package.json");
|
||||
|
||||
exports.run = async () => {
|
||||
const dev = client.users.get(process.env.OWNER);
|
||||
const artist = client.users.get("401980971517214723");
|
||||
const infoEmbed = {
|
||||
"embed": {
|
||||
"description": process.env.NODE_ENV === "development" ? "**You are currently using esmBot Dev! Things may change at any time without warning and there will be bugs. Many bugs.**" : "",
|
||||
|
@ -18,11 +16,7 @@ exports.run = async () => {
|
|||
},
|
||||
{
|
||||
"name": "📝 Credits:",
|
||||
"value": `Bot by **${dev.username}#${dev.discriminator}**\nIcon by **${artist.username}#${artist.discriminator}**`
|
||||
},
|
||||
{
|
||||
"name": "👪 Total Users:",
|
||||
"value": client.users.size
|
||||
"value": "Bot by **[Essem](https://essem.space)**\nIcon by **[MintBorrow](https://mintborrow.newgrounds.com)**"
|
||||
},
|
||||
{
|
||||
"name": "💬 Total Servers:",
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
const urlRegex = /(?:\w+:)?\/\/(\S+)/;
|
||||
const puppeteer = require("puppeteer-core");
|
||||
const puppeteer = require("puppeteer-extra");
|
||||
const StealthPlugin = require("puppeteer-extra-plugin-stealth");
|
||||
puppeteer.use(StealthPlugin());
|
||||
const fetch = require("node-fetch");
|
||||
|
||||
exports.run = async (message, args) => {
|
||||
|
|
|
@ -47,10 +47,6 @@ exports.run = async (message, args) => {
|
|||
{
|
||||
"name": "ℹ️ **Status:**",
|
||||
"value": member && member.status ? member.status : "Unknown"
|
||||
},
|
||||
{
|
||||
"name": "🎮 **Playing:**",
|
||||
"value": member ? (member.game ? member.game.name : "Nothing") : "Unknown"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue