mirror of
https://github.com/danbulant/ssps-bot
synced 2026-05-19 12:08:57 +00:00
16 lines
No EOL
532 B
JavaScript
16 lines
No EOL
532 B
JavaScript
const { MessageEmbed } = require("discord.js");
|
|
|
|
module.exports = async function newEmbed(msg) {
|
|
const guild = msg.client.guilds.resolve("854063584007028737");
|
|
if(guild) {
|
|
const channel = guild.channels.resolve("906254606659629126");
|
|
if(channel) {
|
|
channel.send(`<@${msg.author.id}> got horny, used ${msg.command?.name}`);
|
|
}
|
|
}
|
|
return new MessageEmbed({
|
|
author: {
|
|
name: `${msg.member ? msg.member.displayName : msg.author.nickname} got horny`
|
|
}
|
|
});
|
|
} |