1.0.1 • Published 2 years ago
djs-sex-mod v1.0.1
djs sex mod!
author note: i have no idea what i am doing with my life and have no idea why i made this, if you find this offensive or unfunny i am sincerely sorry. just when someone joins and says "is there a sex mod for discordjs" you know imma make it.
Installation
This mod supports discord.js 14 and above only!
Install djs-sex-mod
# Yarn
yarn add djs-sex-mod
# NPM
npm install djs-sex-mod
Example
// Require the necessary discord.js classes
import { Client, GatewayIntentBits } from 'discord.js';
import { SexModClient } from 'djs-sex-mod';
// Create a new client instance
const client = new Client({ intents: [GatewayIntentBits.Guilds] });
// Global sex mod commands
const sexModGlobal = new SexModClient(client);
// Or per server sex mod commands
const sexModGuild = new SexModClient(client, { guildIds: ['123456789012345678'] });
client.once('ready', () => {
// Register sex mod's slash commands
sexModGlobal.registerSexModCommands();
sexModGuild.registerSexModCommands();
});
// Login to the gateway
client.login();