Skip to content

Commit

Permalink
Changing guild for feature testing (API doesn't to work on the previo…
Browse files Browse the repository at this point in the history
…us server)
  • Loading branch information
pakkographic committed Aug 12, 2024
1 parent d40b3e6 commit b456e7d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions scripts/tests/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ const client = new Client({ token: process.env.TOKEN as string });

client.on("ready", async () => {
console.log(`Logged as ${client.user?.username}`);
let chat = await client.rest.guilds.createChannel("NEa5J8GE", "PIZZANANAS", "chat", { description: "We love Pizza 🍕" });
let announcement = await client.rest.guilds.createChannel("NEa5J8GE", "PIZZANANAS", "announcements", { description: "We love Pizza 🍕" });
let calendar = await client.rest.guilds.createChannel("NEa5J8GE", "PIZZANANAS", "calendar", { description: "We love Pizza 🍕" });
let forums = await client.rest.guilds.createChannel("NEa5J8GE", "PIZZANANAS", "forums", { description: "We love Pizza 🍕" });
let media = await client.rest.guilds.createChannel("NEa5J8GE", "PIZZANANAS", "media", { description: "We love Pizza 🍕" });
let voice = await client.rest.guilds.createChannel("NEa5J8GE", "PIZZANANAS", "voice", { description: "We love Pizza 🍕" });
let docs = await client.rest.guilds.createChannel("NEa5J8GE", "PIZZANANAS", "docs", { description: "We love Pizza 🍕" });
let list = await client.rest.guilds.createChannel("NEa5J8GE", "PIZZANANAS", "list", { description: "We love Pizza 🍕" });
let scheduling = await client.rest.guilds.createChannel("NEa5J8GE", "PIZZANANAS", "scheduling", { description: "We love Pizza 🍕" });
let stream = await client.rest.guilds.createChannel("NEa5J8GE", "PIZZANANAS", "stream", { description: "We love Pizza 🍕" });
let chat = await client.rest.guilds.createChannel("l6Wgk5QE", "PIZZANANAS", "chat", { description: "We love Pizza 🍕" });
let announcement = await client.rest.guilds.createChannel("l6Wgk5QE", "PIZZANANAS", "announcements", { description: "We love Pizza 🍕" });
let calendar = await client.rest.guilds.createChannel("l6Wgk5QE", "PIZZANANAS", "calendar", { description: "We love Pizza 🍕" });
let forums = await client.rest.guilds.createChannel("l6Wgk5QE", "PIZZANANAS", "forums", { description: "We love Pizza 🍕" });
let media = await client.rest.guilds.createChannel("l6Wgk5QE", "PIZZANANAS", "media", { description: "We love Pizza 🍕" });
let voice = await client.rest.guilds.createChannel("l6Wgk5QE", "PIZZANANAS", "voice", { description: "We love Pizza 🍕" });
let docs = await client.rest.guilds.createChannel("l6Wgk5QE", "PIZZANANAS", "docs", { description: "We love Pizza 🍕" });
let list = await client.rest.guilds.createChannel("l6Wgk5QE", "PIZZANANAS", "list", { description: "We love Pizza 🍕" });
let scheduling = await client.rest.guilds.createChannel("l6Wgk5QE", "PIZZANANAS", "scheduling", { description: "We love Pizza 🍕" });
let stream = await client.rest.guilds.createChannel("l6Wgk5QE", "PIZZANANAS", "stream", { description: "We love Pizza 🍕" });
console.log("📧 The Channels were created")
await chat.edit({ description: "We love Pizza 🍕\nWith Nutella", isPublic: true, name:"P-I-Z-Z-A" });
await announcement.edit({ description: "We love Pizza 🍕\nWith Nutella", isPublic: true, name:"P-I-Z-Z-A" });
Expand Down

0 comments on commit b456e7d

Please sign in to comment.