Skip to content

Commit

Permalink
changing test IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
pakkographic committed Aug 12, 2024
1 parent b456e7d commit 77fc2a2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/tests/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const client = new Client({ token: process.env.TOKEN as string});
client.on("ready", async () => {
console.log(`Logged as ${client.user?.username}`);
console.log("📧 Sending Message")
let message = await client.rest.channels.createMessage("74a7bc35-21ea-465d-9554-c82ccba067b7", { content: "We love Pizza 🍕" });
let message = await client.rest.channels.createMessage("b531fbd7-6aec-47f0-a58d-4021aaa45ec6", { content: "We love Pizza 🍕" });
console.log("📧 The Message was sent")
await message.pin();
console.log("📌 The Message was pinned")
Expand Down Expand Up @@ -40,7 +40,7 @@ client.on("ready", async () => {
if (cache) console.log("✅ The Message was cached")
console.log("--------------------")
console.log("📧 Sending Announcement")
let announcement = await client.rest.channels.createAnnouncement("4a922fbf-f009-4db9-b017-bfff2ac22944", {title: "Pizza",content: "We love Pizza 🍕",});
let announcement = await client.rest.channels.createAnnouncement("05bd1082-8722-408e-8682-f6c8c56cd3d5", {title: "Pizza",content: "We love Pizza 🍕",});
console.log("📧 The Announcement was sent")
let comment = await client.rest.channels.createAnnouncementComment(announcement.channelID, announcement.id, {content: "With Pineapple"});
console.log("📧 The Announcement Comment was sent")
Expand All @@ -57,7 +57,7 @@ client.on("ready", async () => {
console.log("🗑️ The Announcement was deleted")
console.log("--------------------")
console.log("📧 Sending Calendar Event")
let event = await client.rest.channels.createCalendarEvent("76adcbea-ed87-47f2-8225-f6396613eeb4", {
let event = await client.rest.channels.createCalendarEvent("0a5f7608-e7cd-48ac-ad71-9f4d45ea7bb6", {
name: "Pizza Party",
description: "We love Pizza 🍕",
color: 0xFFE933,
Expand Down Expand Up @@ -96,7 +96,7 @@ client.on("ready", async () => {
console.log("🗑️ The Calendar Event was deleted")
console.log("--------------------")
console.log("📧 Sending Docs")
let doc = await client.rest.channels.createDoc("a7bca3fe-d04e-4fc4-9967-cdc53d154d80", {"title":"The 5 Reasons Why You Should Eat Pizza (The 6th Will Shock You)","content":"So, this is the 5 reasons why you should eat pizza:\n1 » It's good\n2» It's good\n3» It's good\n4» It's good\n5» It's good"});
let doc = await client.rest.channels.createDoc("1a023be2-c1a3-4609-ac69-c00a487d5786", {"title":"The 5 Reasons Why You Should Eat Pizza (The 6th Will Shock You)","content":"So, this is the 5 reasons why you should eat pizza:\n1 » It's good\n2» It's good\n3» It's good\n4» It's good\n5» It's good"});
console.log("📧 The Doc was sent")
let CommentDoc = await client.rest.channels.createDocComment(doc.channelID, doc.id, {content: "With Pineapple it's better"});
console.log("📧 The Doc Comment was sent")
Expand All @@ -113,7 +113,7 @@ client.on("ready", async () => {
console.log("🗑️ The Doc was deleted")
console.log("--------------------")
console.log("📧 Sending Forum Topic")
let Thread = await client.rest.channels.createForumThread("478dcf19-fe2f-4fae-b7ee-c54d50ec9bee", {title: "Pizza",content: "We love Pizza 🍕",});
let Thread = await client.rest.channels.createForumThread("3fa9c321-213b-42b8-a9f0-9658d4c9efa4", {title: "Pizza",content: "We love Pizza 🍕",});
console.log("📧 The Forum Thread was sent")
let CommentThread = await client.rest.channels.createForumComment(Thread.channelID, Thread.id, {content: "With Pineapple it's better"});
console.log("📧 The Forum Comment was sent")
Expand All @@ -130,7 +130,7 @@ client.on("ready", async () => {
console.log("🗑️ The Forum Thread was deleted")
console.log("--------------------")
console.log("📧 Sending List Item")
let Item = await client.rest.channels.createListItem("df5a00d1-709e-4b6c-b918-eddfdb1035f5", "Eat some Pizza", {content:"With Pineapple it's better",});
let Item = await client.rest.channels.createListItem("0f0a5197-ef5e-4a07-9b21-2c258af63702", "Eat some Pizza", {content:"With Pineapple it's better",});
console.log("📧 The List Item was sent")
await client.rest.channels.completeListItem(Item.channelID, Item.id);
console.log("📧 The List Item was completed")
Expand Down

0 comments on commit 77fc2a2

Please sign in to comment.