This repository has been archived by the owner on Jan 27, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V2.3.3 - DeepScan Errors Scanned | DeepScan.io
- Loading branch information
Glitch (cytrusbot)
committed
Mar 17, 2019
1 parent
a19881b
commit c57204b
Showing
28 changed files
with
181 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
{"name":"pikaOh.png","date":"2019-02-03T01:56:40.558Z","url":"https://cdn.glitch.com/1654f0f1-6c26-4af8-9359-621c155eff8d%2FpikaOh.png","type":"image/png","size":17739,"imageWidth":128,"imageHeight":128,"thumbnail":"https://cdn.glitch.com/1654f0f1-6c26-4af8-9359-621c155eff8d%2FpikaOh.png","thumbnailWidth":128,"thumbnailHeight":128,"dominantColor":null,"uuid":"YwbXthVDNOSDsUZb"} | ||
{"name":"image.png","date":"2019-02-27T10:07:16.530Z","url":"https://cdn.glitch.com/1654f0f1-6c26-4af8-9359-621c155eff8d%2Fimage.png","type":"image/png","size":155176,"imageWidth":384,"imageHeight":331,"thumbnail":"https://cdn.glitch.com/1654f0f1-6c26-4af8-9359-621c155eff8d%2Fthumbnails%2Fimage.png","thumbnailWidth":330,"thumbnailHeight":285,"dominantColor":"rgb(4,4,4)","uuid":"6IwxHDYFJk72B4E0"} | ||
{"name":"wiinoutenis.gif","date":"2019-03-16T12:31:03.243Z","url":"https://cdn.glitch.com/1654f0f1-6c26-4af8-9359-621c155eff8d%2Fwiinoutenis.gif","type":"image/gif","size":16475169,"imageWidth":1280,"imageHeight":720,"thumbnail":"https://cdn.glitch.com/1654f0f1-6c26-4af8-9359-621c155eff8d%2Fthumbnails%2Fwiinoutenis.gif","thumbnailWidth":330,"thumbnailHeight":186,"dominantColor":"rgb(251,252,245)","uuid":"UzNY0vz0jkZmYy5b"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
exports.run = async (client, message, args, level) => { // eslint-disable-line no-unused-vars | ||
try { | ||
let i = []; | ||
|
||
if (!message.mentions.members.first()) message.guild.members.forEach(member => { | ||
if (!member.user.bot) i.push(member); | ||
}); | ||
else i.push(message.mentions.members.first()); | ||
|
||
let member = i.random(); | ||
await message.channel.send(new client.Embed('normal', { | ||
title: 'Love', | ||
description: message.author.username + ' is ' + Math.floor(Math.random() * 100 + 1) + '% in love with ' + member.user.username | ||
})); | ||
} catch (err) { | ||
message.channel.send('Their was an error!\n' + err).catch(); | ||
} | ||
}; | ||
|
||
exports.conf = { | ||
enabled: true, | ||
aliases: [], | ||
guildOnly: false, | ||
permLevel: 'User' | ||
}; | ||
|
||
exports.help = { | ||
name: 'love', | ||
category: 'Fun', | ||
description: 'Shows how much in love tou are with a user', | ||
usage: 'love [user]' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const router = require('express').Router(); | ||
const client = require('../../app'); | ||
|
||
router.get('/', async (req, res) => { | ||
if (!req.session.user || req.session.guild) res.redirect('/'); | ||
|
||
if (req.query.command) { | ||
if (!client.commands.has(req.query.command)) return res.redirect('/commands'); | ||
|
||
res.render('command', {user: req.session.user, guilds: req.session.guilds, djsclient: client, command: req.query.command}); | ||
} else res.render('commands', {user: req.session.user, guilds: req.session.guilds, djsclient: client}); | ||
}); | ||
|
||
module.exports = router; |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<%- include('partials/header.ejs') %> | ||
<body> | ||
<%- include('partials/navbar.ejs') %> | ||
|
||
<div> | ||
<% let cmd = djsclient.commands.get(command); %> | ||
<h2><%= cmd.help.name %></h2> | ||
<br> | ||
<p> | ||
<%= cmd.help.description} %> | ||
<br> | ||
Usage: <%= cmd.help.usage %> | ||
<br> | ||
Aliases: <%= cmd.conf.aliases.join(' | ') || 'none' %> | ||
</p> | ||
<br><br> | ||
<h3> | ||
Permission Level | ||
<br> | ||
<%= djsclient.levelCache[cmd.conf.permLevel] %> - <%= cmd.conf.permLevel %> | ||
</h3> | ||
<br><br> | ||
<h3> | ||
Category | ||
<br> | ||
<%= cmd.help.category %> | ||
</h3> | ||
<br><br> | ||
<h3> | ||
Guild Only | ||
<br> | ||
<%= cmd.conf.guildOnly ? 'Yes' : 'No' %> | ||
</h3> | ||
<br><br> | ||
<h3> | ||
Enabled | ||
<br> | ||
<%= cmd.conf.enabled ? 'Yes' : 'No' %> | ||
</h3> | ||
<br><br> | ||
<h3> | ||
NSFW | ||
|
||
<%= cmd.conf.nsfw ? 'Yes' : 'No' %> | ||
</h3> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.