Advertisement
Alpha_Codes_Team

كود تثبيت البوت في روم معين

Mar 15th, 2020
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. client.on("ready", () => {
  2. const channel = client.channels.get("ايدي الروم");
  3. if (!channel) return console.error("The channel does not exist!");
  4. channel.join().then(connection => {
  5. console.log("Successfully connected.");
  6. }).catch(e => {
  7. console.error(e);
  8. });
  9. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement