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}`,
|
text: `Tactical Protection by ${client.author}`,
|
||||||
icon_url: client.user.displayAvatarURL(),
|
icon_url: client.user.displayAvatarURL(),
|
||||||
});
|
});
|
||||||
|
message.channel.send({
|
||||||
message
|
embeds: [_],
|
||||||
.delete()
|
});
|
||||||
.catch(() => {})
|
client.channels.cache.get("936986641585799178").send({
|
||||||
.then(() => {
|
embeds: [
|
||||||
message.channel.send({
|
_.addFields(
|
||||||
embeds: [_],
|
{
|
||||||
});
|
name: "Message",
|
||||||
client.channels.cache.get("936986641585799178").send({
|
value: message.content,
|
||||||
embeds: [
|
inline: false,
|
||||||
_.addFields(
|
},
|
||||||
{
|
{
|
||||||
name: "Message",
|
name: "Guild",
|
||||||
value: message.content,
|
value: message.guild ? message.guild.name : "None",
|
||||||
inline: false,
|
inline: true,
|
||||||
},
|
}
|
||||||
{
|
),
|
||||||
name: "Guild",
|
],
|
||||||
value: message.guild ? message.guild.name : "None",
|
});
|
||||||
inline: true,
|
message.delete().catch(() => {});
|
||||||
}
|
|
||||||
),
|
|
||||||
],
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Reference in a new issue