New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

xoppack

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xoppack

A Easy Fun Game Package For Discord.js Developers To Use!

latest
Source
npmnpm
Version
1.5.6
Version published
Maintainers
1
Created
Source

XOPPACK

A Fun Game NPM Package Made For Discord.js Developers!

NPM All

NPM Version NPM Downloads NPM Dependents NPM License Discord

📥 | Installation

npm i xoppack
  • Now Supports Discord.js v12 and v13 very soon 🥳

📤 | Update

npm i xoppack@latest
  • Updates Your Package Version To The Latest (ex. v2 > v3)

📸 | XOP IMAGES

FunctionInformationExample
XOPADDisplays A User As A AdvertisementXOPAD({}) // The Same As Below
XOPBlurDisplays A Blurry Image Of The UserXOPBlur({}) // The Same As Below
XOPClownDisplays A User As A ClownXOPClown({}) // The Same As Below
XOPDOFDisplays A Shameless User On The DockXOPDOF({}) // The Same As Below
XOPDripDisplays A Drippy UserXOPDrip({}) // The Same As Below
XOPGraveDisplays A User In A GraveXOPGrave({}) // The Same As Below
XOPGunDisplays A User Holding A GunXOPGun({}) // The Same As Below
XOPHeavenDisplays A User In HeavenXOPHeaven({}) // The Same As Below
XOPIASDisplays A User As Mc'queenXOPIAS({}) // The Same As Below
XOPMNMDisplays A User As A MNMXOPMNM // The Same As Below
XOPPETDisplays A User Getting PettedXOPPET({}) // The Same As Below
XOPSimpDisplays A User As A SimpXOPSimp({}) // The Same As Below
XOPStonksDisplays A User Getting High StonksXOPStonks({}) // The Same As Below
XOPTABFLIPDisplays A User TableflippingXOPTABFLIP({}) // The Same As Below
XOPWantedDisplays A User Being WantedXOPWanted({}) // The Same As Below
XOPWPFPDisplays A User's PFP WideXOPWPFP({}) // The Same As Below

Version 12 Example

client.on('message', async (message) => {
if (message.content === "clown"){
   new XOPClown({ // Just Edit The Name With Any Of The Above
            message: message,
            mention: true, // Rewrite To False To Not Mention
            embed: {
                color: `PURPLE`, // HEX OR RED, GREEN etc.
                title: "Clown" // Title For The Embed
            }
        }).startFunction();
    },
});

🤳 | Outcome

Version 12 Example

client.on('message', async (message) => {
if (message.content === "ad"){
   new XOPAD({ // Just Edit The Name With Any Of The Above
            message: message,
            mention: true, // Rewrite To False To Not Mention
            embed: {
                color: `PURPLE`, // HEX OR RED, GREEN etc.
                title: "AD" // Title For The Embed
            }
        }).startFunction();
    },
});

🤳 | Outcome

🎮 | XOP RPS GAME

Version 12 Function

const lineReplyNoMention = require('discord-reply')  //<----Install To Work!---->
const { XOPRockPaperScissors } = require('xoppack') //<----Always Define XOPPACK---->
client.on('message', async (message) => {
if (message.content === "rps") {
        if (!args[0]) {
            const noch = new Discord.MessageEmbed()
                .setTimestamp()
                .setColor('#34b7db')
                .setAuthor(`${message.author.username}`, message.author.displayAvatarURL({ dynamic: true }))
                .setDescription(`**\`(prefix)rps <@user>\`**`)
            return message.lineReplyNoMention(noch)
        }
        new XOPRockPaperScissors({
            message: message,
            opponent: message.mentions.users.first(),
            embed: {
                description: '**Press A Button Below To Start!**', // Text To Display On Embed
                color: '#c30202', // HEX OR RED, GREEN etc.
            },
            buttons: {
                rock: '🗻', // The Emoji For The Rock
                paper: '📄', // The Emoji For The Paper
                scissors: '✂', // The Emoji For The Scissors
            },
            othersuserMessage: '**You Are Not Allowed To Use Buttons For This Message!**', // Message To Display To Other Users
            chooseMessage: '**You Choose {emoji}!**', // The Message When A Emoji Is Chosen
            noChangeMessage: '**You Cannot Change Your Button Selection!**', // The Message When A User Tries To Change Selection
            askerMessage: '**Hey {opponent}, {challenger} Challenged You For A Game Of Rock Paper Scissors!**', // The Ask Message To A Opponent
            cancelMessage: '**Looks Like They Didn\`t Want To Play!**', // The Cancel Message
            timerEndMessage: '**Since The Opponent Didnt Answer, I Ended The Game!**', // The Message When The Time Ends
            drawMessage: '**The Game Ended With a Draw!**', // The Message When The Game Ends With A Draw
            winMessage: '**{winner} Won The Game!**', // The Message When A User Wins
            gameEndMessage: '**The Game Was Unfinished!**', // The End-Game Message
        }).startGame();
    },
});

🤳 | Outcome

🎮 | XOP SNAKE GAME

Version 12 Function

const lineReplyNoMention = require('discord-reply') //<----Install To Work!---->
const { XOPSnake } = require("xoppack") //<----Always Define XOPPACK---->
client.on('message', async (message) => {
if (message.content === "snake") {
        new XOPSnake({
            message: message,
            embed: {
                color: '#34b7db', // HEX OR RED, GREEN etc.
                OverTitle: "**Game Over!**", // End-Game Title
            },
            snake: { head: '🔴', body: '🟥', tail: '🔴' }, // Characteristics For The Snake
            emojis: {
                board: '⬛', // Background Emoji
                food: '🍌', // Food To Display
                up: '⬆️', // Up Button
                right: '➡️', // Right Button
                down: '⬇️', // Down Button
                left: '⬅️', // Left Button
            },
            othersuserMessage: '**You Are Not Allowed To Use The Buttons For The Snake Game!**', // Message To Display For Other Users
        }).startGame();
    },
});

🤳 | Outcome

📯 | Announcments

V1.4.8-bfix / V1.4.9

Major Update:
We Removed The Ability To Name A Embed As It Created Errors Wth The Package.
Instead We Recommend To Change A Embed Title Manuallly By Going In The Node_Modules

V1.5.0

Huge Update:
We Have Made Various Changes In The Package, Of Which None Have Affected The Constructor In To Need Of Changing Options. Although They Have Affected Only The Source.
To Be More Specific We Have Changed Folders And Functions Of Each Constructor.
Example:  lib to src , examples to events , xoptypes to typescript and more...

V1.5.1

Very Huge Update:
We Are Gonna Be Welcoming Discord.jsV13 Constructors By The End Of June With Better Functions, New Colors And More... Even Better You Can Now Try The Loading Function In Your Own Bot, Just Update To This Better Version.

V1.5.2

Mega Huge Update:
We Finally Are Going To Support Discord.jsV13, It Took Us Some Months To Decide, But We're Making It Possible, We Fixed All Mistakes Done From Previous V13 Versions And You Should Expect It By The End Of June 😀

v3.2.5

Ultra Huge Update: We Have Added Over 16 Images To Use By Installing Our Pack. We Also Updated V12 Functions For Better Speed And Design, Mostly We Fixed Bugs With The Previous Version And Now Works Since We Got Our Testing Bot Finally Active 😂. AH, Just So You Know The Images Display The Icon Of Only The Author, In The Next Update We Will Be Fixing That But For Now Have Fun Using This Big Version.

👥 | Discord Server

You Can Visit The Issues Page Of XOPPACK To Report Bugs Or Errors Found! Also Dont Be Afraid To Ping Me 'Once' On My Server Just Click The Image And It Will Send You To The Server ⏬

Discord

A Package Owned By XOPBOT.INC

Please Make Sure To 🌟 And 🍴 The Repository!

Keywords

fun

FAQs

Package last updated on 12 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts