Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Discord = require('discord.js');
- const {prefix} = require('../settings.json');
- const superagent = require('superagent');
- const db = require('quick.db');
- function premium(serverID) {
- return db.has('premiumserver') && db.get('premiumserver').includes && db.get('premiumserver').includes((serverID));
- }
- exports.run = async (client, message, args, tools) => {
- let nsfwlist = '**•** `4k` | Get a random 4k image\n**•** `anal` | Get a random anal image\n**•** `ass` | Get a random ass image\n**•** `pgif` | Get a random gif\n**•** `hentai` | Get a random hentail image\n**•** `pussy` | Get a random pussy image\n**•** `thigh` | Get a random thigh image\n**•** `gonewild` | Get a random gonewild image\n**•** `hthigh` | Get a random hthigh image\n**•** `midriff` | Get a random midriff image\n**•** `neko` | Get a random neko image';
- if (!message.channel.nsfw) nsfwlist = `<:RhinoCross:633935955514097674> **Channel not marked as NSFW!**`;
- let modlist = '**•** `ban` | Ban a user\n**•** `unban` | Unban a user\n**•** `mute` | Mute a user\n**•** `unmute` | Unmute a user\n**•** `kick` | Kick a user\n**•** `purge` | Clear text';
- if (!message.member.hasPermission("KICK_MEMBERS")) modlist = `<:RhinoCross:633935955514097674> **Your missing \`KICK_MEMBERS\` permission!**`;
- let musiclist = '**•** `nowplaying` | The current playing song\n**•** `play ` | Play a song\n**•** `queue` | View the loaded queue\n**•** `search ` | Search for a song\n**•** `pause` | Pause the queue\n**•** `resume` | Resume the queue\n**•** `skip` | Skip the current song\n**•** `shuffle` | Rearrange the queue\n**•** `volume` | View the volume\n**•** `stop` | Stop the queue';
- if(!premium(message.guild.id)) musiclist = `<:premium:611982810739376148> **Server not premium - [Buy Here](https://www.patreon.com/join/DirectorDev)!**`;
- let ownerlist = '**•** `verify` | Give premium to a server\n**•** `reload` | Reload a command\n**•** `eval` | Evalute a command';
- if (message.author.id !== "562408623784067074") ownerlist = `<:RhinoCross:633935955514097674> **You need to be a \`Rhino Developer\`!**`;
- let pages = ['**•** :information_source: Bot Commands\n**•** :computer: Server Commands\n**•** :rofl: Fun Commands\n**•** :camera_with_flash: Image Commands\n**•** :pencil: Text Commands\n**•** :video_game: Game Commands\n**•** :hammer_pick: Moderation Commands\n**•** :notes: Music Commands - <:premium:611982810739376148> **Premium Feature**\n**•** :crown: Owner Commands',
- '**•** `info` | Basic Information on the bot\n**•** `support` | Get support on the bot\n**•** `invite` | Invite to invite the bot\n**•** `ping` | The bots latency\n**•** `uptime` | The uptime of the bot\n**•** `upvote` | Upvote the bot\n**•** `premium` | Get premium for Rhino',
- '**•** `serverinfo` | Get server information\n**•** `membercount` | Get the member count\n**•** `userinfo` | Get information on a user\n**•** `channelinfo` | Get information about a channel\n**•** `roleinfo` | Get information about a role',
- '**•** `weather` | Get the weather of a location\n**•** `quote` | Get a random quote\n**•** `dadjoke` | Get a random joke\n**•** `calculate` | Calculate a sum\n**•** `8ball` | Ask a question\n**•** `advice` | Get a random advice\n**•** `catfact` | A random cat fact\n**•** `dogfact` | A random dog fact\n**•** `rate` | Rate a user',
- '**•** `dog` | A random dog picture\n**•** `cat` | A random cat picture\n**•** `bird` | A random bird picture\n**•** `bunny` | A random bunny picture\n**•** `cow` | A random cow picture\n**•** `fish` | A random fish picture\n**•** `space` | A random space picture\n**•** `meme` | A random meme\n**•** `avatar` | Get a members profile picture\n**•** `thuglife` | Make the user a thug\n**•** `triggered` | Get a user triggered\n**•** `wasted` | Get a user wanted\n**•** `wanted` | Get a user wanted',
- '**•** `backwards` | Write a text backwards\n**•** `flip` | Flip a text\n**•** `italic` | Word formate\n**•** `bold` | Word formate\n**•** `underline` | Word formate\n**•** `syntax` | Word formate\n**•** `block-quote` | Word formate',
- '**•** `rolldice` | Roll a dice\n**•** `slots` | Play a game of slots\n**•** `fortnite` | Get a users game status',
- `${nsfwlist}`,
- `${modlist}`,
- `${musiclist}`,
- `${ownerlist}`];
- let page = 1;
- let titles = ['Help Command | Rhino', ':information_source: Bot Commands', ':computer: Server Commands', ':rofl: Fun Commands', ':camera_with_flash: Image Commands', ':pencil: Text Commands', ':video_game: Game Commands', ':underage: NSFW Commands', ':hammer_pick: Moderation Commands', ':notes: Music Commands - <:premium:611982810739376148> Premium Feature', ':crown: Owner Commands'];
- let title = 1;
- const embed = new Discord.RichEmbed();
- embed.setColor(`#FFD41C`);
- embed.setFooter(`Rhino - Multi Purpose Bot | Page ${page} of ${pages.length}`);
- embed.setTitle(titles[title-1]);
- embed.setThumbnail(message.author.avatarURL);
- embed.setTimestamp();
- embed.setDescription(`<a:verify:618820497878155265> **Prefix -** \`${prefix}\` **Version -** \`V 2.0\`\n**[Patreon](https://www.patreon.com/DirectorDev) | [Invite](https://discordapp.com/oauth2/authorize?client_id=621422647439523860&scope=bot&permissions=507378935&response_type=code&redirect_uri=https%3A%2F%2Fdiscord.gg%2F266qZr6) | [Support](https://discord.gg/ZFxYT27)**\n\n${pages[page-1]}`);
- message.channel.send(embed).then(msg => {
- msg.react('⬅').then( r => {
- msg.react('🗑').then( r => {msg.react('⏹').then( r => {msg.react('➡').then( r => {msg.react('ℹ')
- const backwardsFilter = (reaction, user) => reaction.emoji.name === '⬅' && user.id === message.author.id;
- const forwardsFilter = (reaction, user) => reaction.emoji.name === '➡' && user.id === message.author.id;
- const close = (reaction, user) => reaction.emoji.name === '⏹' && user.id === message.author.id;
- const del = (reaction, user) => reaction.emoji.name === '🗑' && user.id === message.author.id;
- const info = (reaction, user) => reaction.emoji.name === 'ℹ' && user.id === message.author.id;
- const backwards = msg.createReactionCollector(backwardsFilter);
- const forwards = msg.createReactionCollector(forwardsFilter);
- const remove = msg.createReactionCollector(close);
- const da = msg.createReactionCollector(del);
- const n = msg.createReactionCollector(info);
- backwards.on('collect', r => {
- if (page === 1) return;
- if (title === 1) return;
- title--;
- page--;
- embed.setTitle(titles[title-1]);
- embed.setDescription(`<a:verify:618820497878155265> **Prefix -** \`${prefix}\` **Version -** \`V 2.0\`\n**[Patreon](https://www.patreon.com/DirectorDev) | [Invite](https://discordapp.com/oauth2/authorize?client_id=621422647439523860&scope=bot&permissions=507378935&response_type=code&redirect_uri=https%3A%2F%2Fdiscord.gg%2F266qZr6) | [Support](https://discord.gg/ZFxYT27)**\n\n${pages[page-1]}`);
- embed.setFooter(`Rhino - Multi Purpose Bot | Page ${page} of ${pages.length}`);
- msg.edit(embed)
- r.remove(r.users.filter(u => u === message.author).first());
- })
- forwards.on('collect', r => {
- if (page === pages.length) return;
- if (title === title.length) return;
- title++;
- page++;
- embed.setTitle(titles[title-1]);
- embed.setDescription(`<a:verify:618820497878155265> **Prefix -** \`${prefix}\` **Version -** \`V 2.0\`\n**[Patreon](https://www.patreon.com/DirectorDev) | [Invite](https://discordapp.com/oauth2/authorize?client_id=621422647439523860&scope=bot&permissions=507378935&response_type=code&redirect_uri=https%3A%2F%2Fdiscord.gg%2F266qZr6) | [Support](https://discord.gg/ZFxYT27)**\n\n${pages[page-1]}`);
- embed.setFooter(`Rhino - Multi Purpose Bot | Page ${page} of ${pages.length}`);
- msg.edit(embed)
- r.remove(r.users.filter(u => u === message.author).first());
- })
- n.on('collect', r => {
- embed.setTitle(`Paginator help`);
- embed.setDescription(`**•** :arrow_backward: goes to the previous page\n**•** :arrow_forward: goes to the next page\n**•** :wastebasket: deletes the whole message\n**•** :stop_button: stops the interactive pagination session\n**•** :information_source: shows this message`);
- embed.setFooter(`Rhino - Multi Purpose Bot | Page ${page} of ${pages.length}`);
- msg.edit(embed)
- r.remove(r.users.filter(u => u === message.author).first());
- })
- da.on('collect', r => {
- msg.delete()
- })
- remove.on('collect', r => {
- msg.clearReactions()
- })
- })
- })
- })
- })
- })
- };
- exports.help = {
- name: 'help',
- };
Add Comment
Please, Sign In to add comment