- An Urban dictionary command
- Reaction roles
- A Purge command that defaults to 1
- A Ban command
- A Kick command
- A Mute command
- A Discord user info command
- A Discord server info command
- A Global ban report command
- A Help command that's actually useful and dosen't DM you or have pages that you need to use reactions to scroll through
Sorry, I don't accept unsolicited invites, and for your information they're a violation of the Discord Terms of Service. You can read more about the Terms of Service for Discord at https://discord.com/terms and contact me regarding any clarification you may require. Thank you!
Sorry, I'm not willing to sell my account, and for your information doing so or asking someone to do so is a violation of the Discord Terms of Service. You can read more about the Terms of Service for Discord at https://discord.com/terms and contact me regarding any clarification you may require. Thank you!
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
const { Command } = require("discord-akairo"); | |
class ReloadCommand extends Command { | |
constructor() { | |
super("reload", { | |
aliases: ["reload"], | |
args: [ | |
{ | |
id: "commandID", | |
default: "all" |
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
export default function abbreviateNumber(value) { | |
let newValue = value; | |
const suffixes = ["", "K", "M", "B","T"]; | |
let suffixNum = 0; | |
while (newValue >= 1000) { | |
newValue /= 1000; | |
suffixNum++; | |
} | |
newValue = newValue.toPrecision(3); |
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
function getNumbersPercentageOfSum(numbers, decimalPlaces = 2) { | |
let total = 0; | |
for (const number of numbers) { | |
total += number; | |
} | |
return numbers.map(number => ((number / total) * 100).toFixed(decimalPlaces)); | |
} |
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
/** | |
* @author qiao / https://github.com/qiao | |
* @author mrdoob / http://mrdoob.com | |
* @author alteredq / http://alteredqualia.com/ | |
* @author WestLangley / http://github.com/WestLangley | |
* | |
* customized for momentum (zoom and phi/delta) by paulkaplan | |
*/ | |
THREE.OrbitControls = function ( object, domElement ) { |
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
<h1>Testing display of HTML elements</h1> | |
<h2>This is 2nd level heading</h2> | |
<p>This is a test paragraph.</p> | |
<h3>This is 3rd level heading</h3> | |
<p>This is a test paragraph.</p> | |
<h4>This is 4th level heading</h4> | |
<p>This is a test paragraph.</p> | |
<h5>This is 5th level heading</h5> | |
<p>This is a test paragraph.</p> |
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
window.addEventListener("load", () => { | |
const canvas = document.querySelector("#canvas"); | |
const ctx = canvas.getContext('2d'); | |
const img = new Image(); | |
img.src = "assets/images/reinePic.jpg"; | |
img.onload = () => { | |
const [img_scaled_width, img_scaled_height] = drawImageToScale(img, ctx); | |
canvas.width = img_scaled_width; |
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
[v-cloak] { | |
display: block; | |
padding: 50px 0; | |
} | |
@keyframes spinner { | |
to { | |
transform: rotate(360deg); | |
} | |
} |
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
let getRandomBytes = ( | |
(typeof self !== 'undefined' && (self.crypto || self.msCrypto)) | |
? function() { // Browsers | |
var crypto = (self.crypto || self.msCrypto), QUOTA = 65536; | |
return function(n) { | |
var a = new Uint8Array(n); | |
for (var i = 0; i < n; i += QUOTA) { | |
crypto.getRandomValues(a.subarray(i, i + Math.min(n - i, QUOTA))); | |
} | |
return a; |
OlderNewer