diff --git a/scripts/tests/message.ts b/scripts/tests/message.ts index 4635c18..c99a15b 100644 --- a/scripts/tests/message.ts +++ b/scripts/tests/message.ts @@ -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") @@ -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") @@ -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, @@ -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") @@ -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") @@ -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")