Skip to content

Instantly share code, notes, and snippets.

View brussell98's full-sized avatar

Brandon Russell brussell98

View GitHub Profile
@brussell98
brussell98 / VMAd.vue
Last active August 23, 2020 08:48
Nuxt.js Venatus Media Code
<template>
<div class="vm-placement" :data-id="adId" :style="rich ? { display: 'none' } : { }" :data-refid="refid"></div>
</template>
<script>
export default {
props: {
adId: String,
rich: Boolean
},
@brussell98
brussell98 / CHANGELOG.md
Last active August 1, 2019 19:03
BoD 2.5 Changelog

2.5.0 - Various

Various changes made since the last update.

Features

  • Added a featured bots section
  • Added Staff Pick badges to bot pages and added a section for it on the admin panel
  • Added an avatar component and switched all avatars on the site to it. This component also shows the default avatar as a fallback
  • Added a new bot card, which currently is only visible in the featured bots section
newline: a.default.defaultRules.newline,
paragraph: a.default.defaultRules.paragraph,
escape: a.default.defaultRules.escape,
blockQuote: E({}, a.default.defaultRules.blockQuote, {
match: function(e, t, n, r) {
return !T.test(r) || t.inQuote ? null : v.exec(e)
},
parse: function(e, t, n) {
var r = e[0],
i = Boolean(y.exec(r)),
@brussell98
brussell98 / CHANGELOG.md
Created August 22, 2019 03:05
BoD 2.6 Changelog

2.6.0 - Search Update

This update replaces the old search with Elasticsearch, bringing many improvements. It also adds more markdown features, adding bots to lists from their page, tips, and more.

Feature

  • New search engine using Elasticsearch
    • Create markdown.js for parsing markdown outside of Vue
    • Improved the pagination component so it's much easier to use
    • Added ability to sort search results by relevance
@brussell98
brussell98 / CHANGELOG.md
Created October 5, 2019 05:10
BoD 2.7 Changelog

2.7.0 - September Update

This update adds public user pages and placeholder bots, along with many other changes.

Features

  • Added public user pages
    • Removed /me page and redirect to the user page
    • Updated MyBotCard to UserBotCard so it works when the viewer is not the owner
    • Updated the owner on bot pages to link to their user page
@brussell98
brussell98 / CHANGELOG.md
Created December 24, 2019 22:15
Bots on Discord 2.8 Changelog

2.8.0 - Reviews Update

Adds the much anticipated reviews feature to Bots on Discord.

Features

  • Added reviews, replacing the voting system
    • Removed references to votes, replacing them with reviews where applicable
    • Added a profanity filter to be used for reviews
    • Updated embeds to use reviews instead of votes
@brussell98
brussell98 / CHANGELOG.md
Last active February 25, 2020 02:44
Bots on Discord 2.9 Changes

2.9.0 - Reviews Update 2

Adds more features to reviews, reworks the dates for bots to various advantages, and more.

Features

  • Reworked dates for bots. They now have dates for firstSubmitted, lastSubmitted, firstApproved, and lastUpdated
    • This info is displayed on bot pages and the approval queue
    • Changed the approval queue to sort by the first submission date, not the last submission date
    • The date for "New bots" is now the first approved date. Resubmissions and long review times will not have negative effects anymore
@brussell98
brussell98 / CHANGELOG.md
Created November 16, 2020 03:39
Bots on Discord 2.11 Changelog

2.11.0

Features

  • Added a role for new staff: Helper
    • This role can only deny bots
  • Added configuration option to disable submission of new bots
  • Added bot commands

Improvements

@brussell98
brussell98 / whatthefuck.js
Created January 5, 2021 00:52
Can you find out what it does?
_ = global;a = '▌╣'.slice(+!![] - [] << 2);b = [...'the quick brown fox jumps over the lazy dog'];c = c => String.fromCharCode(c.charCodeAt([] - []) - 98);d = s => [...s].map(c).join([] + []);e = !![] + !![] + !![];f = (!![] - [] + e << !![]) + !![];g = !![] << !![];h = !![] + !![] + [];i = (f - !![]) * g + [];j = b[+i - f - h] + b[-[]] + b[+i];ja = j[g] + b[+((+!![] + []) + +!![] + [])] + b[f + e] + b[+(h + h)];k = ['±ÄÌÇÅÖ', '£ÔÔÃÛ', 'µÖÔËÐÉ', 'ÒÔÑÅÇÕÕ', '§ÔÔÑÔ', '¤×ÈÈÇÔ'].map(d);l = '档牡潃敤瑁';m = [] + new _[k[(!![] - [] << !![] + !![]) + !![]]][ja](l, b[e + g] + b[e + g * g] + (typeof i)[[] - []] + h) + [];n = b[+i + f - !![]] + b[+i + f - g] + b[i * g + e] + b[e * g] + b[[] - []];o = _[k[![] - []]].getOwnPropertyNames(_[k[!![] + !!{}]])[f - (e << !![])];p = _[k[![] - []]].getOwnPropertyNames(_[k[!![] - !{}]].prototype)[+(h + h)];q = _[k[![] - []]].getOwnPropertyNames(_[k[!![] - !{}]].prototype)[i - !![]];r = b[i - g - e] + b[g] + b[i * e + [] - [] - g * (e + !![])] + b[g + e] + b[f - g] + b[g];s = (ac, v) =
@brussell98
brussell98 / reqs.diff
Created January 9, 2021 06:01
2021 Bot Requirements Changes
<h3>Listing Rules</h3>
<ol>
<li>You must not present false information. For example: claiming to have features you do not, faking endorsements, or faking statistics.</li>
- <li>Your bot's description must be descriptive. It must accurately describe your bot in a short paragraph.
+ <li>Your bot's description must be <em>descriptive</em>. It must briefly describe what your bot is and what it does.
<ol>
+ <li>Descriptions must be written with sentences and no additional formatting. Things like vertical lists and pipe characters (|) should not be included.</li>
<li>Don't just type out a list of your commands by name. Quickly describe what your bot does in a way everyone can understand.</li>
</ol>
</li>