make it better ig
This commit is contained in:
parent
1a3e93ddf9
commit
0d456c896b
1 changed files with 20 additions and 25 deletions
|
@ -114,31 +114,26 @@ client.on("messageCreate", async message => {
|
|||
text: `Tactical Protection by ${client.author}`,
|
||||
icon_url: client.user.displayAvatarURL(),
|
||||
});
|
||||
|
||||
message
|
||||
.delete()
|
||||
.catch(() => {})
|
||||
.then(() => {
|
||||
message.channel.send({
|
||||
embeds: [_],
|
||||
});
|
||||
client.channels.cache.get("936986641585799178").send({
|
||||
embeds: [
|
||||
_.addFields(
|
||||
{
|
||||
name: "Message",
|
||||
value: message.content,
|
||||
inline: false,
|
||||
},
|
||||
{
|
||||
name: "Guild",
|
||||
value: message.guild ? message.guild.name : "None",
|
||||
inline: true,
|
||||
}
|
||||
),
|
||||
],
|
||||
});
|
||||
});
|
||||
message.channel.send({
|
||||
embeds: [_],
|
||||
});
|
||||
client.channels.cache.get("936986641585799178").send({
|
||||
embeds: [
|
||||
_.addFields(
|
||||
{
|
||||
name: "Message",
|
||||
value: message.content,
|
||||
inline: false,
|
||||
},
|
||||
{
|
||||
name: "Guild",
|
||||
value: message.guild ? message.guild.name : "None",
|
||||
inline: true,
|
||||
}
|
||||
),
|
||||
],
|
||||
});
|
||||
message.delete().catch(() => {});
|
||||
}
|
||||
|
||||
if (
|
||||
|
|
Loading…
Reference in a new issue