added version 2.0
This commit is contained in:
parent
0163d40b4e
commit
0f18925d1a
3231 changed files with 1449 additions and 374732 deletions
20
libs/logs.js
Normal file
20
libs/logs.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
const { EmbedBuilder, WebhookClient } = require("discord.js");
|
||||
|
||||
const webhookClient = new WebhookClient({
|
||||
url: `https://discord.com/api/webhooks/1187067107054202961/M7bsyOwFPMXQTMB8tvrWZu-gLT9rSjl1NASOBrz-z4lwvbwQ9To_yAywE_4aj5oGBP0D`,
|
||||
});
|
||||
|
||||
function sendLog(message) {
|
||||
const embed = new EmbedBuilder()
|
||||
.setTitle("Log")
|
||||
.setDescription(message)
|
||||
.setColor(0x00ffff);
|
||||
|
||||
webhookClient.send({
|
||||
embeds: [embed],
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
sendLog,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue