npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

discord-together

v1.3.31

Published

Play games or watch YouTube videos together on Discord! More than 22 games available!

Downloads

7,678

Readme

NPM

forthebadge

DL

🔩 Installation

Install discord-together

$ npm install discord-together@latest

Install discord.js

$ npm install discord.js@latest

Note: supports all versions of Discord.js

🔑 Features

  • Easy to use
  • Multiple server
  • Discord support
  • Lightweight
  • Works with all DJS versions
  • 22+ games available

💻 Code example

This is a simple example of code using this package.

const Discord = require('discord.js');
const client = new Discord.Client({ intents: [Discord.Intents.FLAGS.GUILDS, Discord.Intents.FLAGS.GUILD_MESSAGES] });
const { DiscordTogether } = require('discord-together');

client.discordTogether = new DiscordTogether(client);

client.on('messageCreate', async message => {
    if (message.content === 'start') {
        if(message.member.voice.channel) {
            client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'sketchheads').then(async invite => {
                return message.channel.send(`${invite.code}`);
            });
        };
    };
});

client.login('your Discord bot token');

🔧 Options

  • Youtube
client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'youtube').then(async invite => {
    return message.channel.send(`${invite.code}`);
});

You can also choose the development version of YouTube, use: youtubeDev.

  • Poker
client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'poker').then(async invite => {
    return message.channel.send(`${invite.code}`);
});
  • Chess
client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'chess').then(async invite => {
    return message.channel.send(`${invite.code}`);
});

Or Checkers in the Park

client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'checkers').then(async invite => {
    return message.channel.send(`${invite.code}`);
});

You can also choose the development version of chess, use: chessDev.

  • Betrayal
client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'betrayal').then(async invite => {
    return message.channel.send(`${invite.code}`);
});
  • Fishington
client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'fishing').then(async invite => {
    return message.channel.send(`${invite.code}`);
});
  • Letter Tile
client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'lettertile').then(async invite => {
    return message.channel.send(`${invite.code}`);
});
  • Words Snack
client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'wordsnack').then(async invite => {
    return message.channel.send(`${invite.code}`);
});
  • Doodle Crew
client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'doodlecrew').then(async invite => {
    return message.channel.send(`${invite.code}`);
});
  • SpellCast
client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'spellcast').then(async invite => {
    return message.channel.send(`${invite.code}`);
});
  • Awkword
client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'awkword').then(async invite => {
    return message.channel.send(`${invite.code}`);
});
  • Puttparty
client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'puttparty').then(async invite => {
    return message.channel.send(`${invite.code}`);
});
  • Sketchheads
client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'sketchheads').then(async invite => {
    return message.channel.send(`${invite.code}`);
});
  • Ocho
client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'ocho').then(async invite => {
    return message.channel.send(`${invite.code}`);
});

🔨 All available games

  • youtube
  • youtubedev
  • poker
  • betrayal
  • fishing
  • chess
  • chessdev
  • lettertile
  • wordsnack
  • doodlecrew
  • awkword
  • spellcast
  • checkers
  • puttparty
  • sketchheads
  • ocho
  • puttpartyqa
  • sketchyartist
  • land
  • meme
  • askaway
  • bobble

📷 Image

Invite link

Note: you have to click on the BLUE LINK, not the 'Play' button, in order to start the activity !

YouTube Together

🌌 Example of bots made with Discord Together

🚀 Others

Thanks a lot to 3chospirits who made the typescript declaration file !

I would also like to thank all the amazing members of my server who are helping to make this project happen !

This package is under MIT license.

Note: This package is not affiliated with Discord Inc. or YouTube Inc.

If you have any problems, you can contact: RemyK#3876. Discord server: Server Link

Github repository

Made with ❤ by RemyK