Skip to content

Instantly share code, notes, and snippets.

View BrianWasTaken's full-sized avatar
👄
Probably Studying

Brian BrianWasTaken

👄
Probably Studying
View GitHub Profile
@favna
favna / subcommands-with-manager-property.ts
Last active April 10, 2022 20:45
[REVISION 2] Sapphire Subcommands v3 for framework v3
import type { Args, ChatInputCommand, MessageCommand } from '@sapphire/framework';
import {
ChatInputSubcommandGroupMappings,
ChatInputSubcommandMappings,
MessageSubcommandGroupMappings,
MessageSubcommandMappings,
SubCommand,
SubcommandMappingsArray
} from '@sapphire/plugin-subcommands';
import type { CommandInteraction, Message } from 'discord.js';
@melmsie
melmsie / levels.md
Created August 14, 2021 20:02
Levels for Dank Memer as of August 15th
Level Coins Items Title Multi
1 5k Newbie
2 5k Padlock
3 5k Cheese
4 5k Laptop
5 10k Reposter
6 5k Horseshoe
7 5k
8 5k Spinner
@melmsie
melmsie / cards.ts
Last active June 29, 2024 10:43
Dank Memer Blackjack Command Files
import * as Constants from './constants';
const randomInArray = <T>(arr: readonly T[]): T =>
arr[Math.floor(Math.random() * arr.length)];
export interface Card {
suit: typeof Constants.SUITS[number];
face: typeof Constants.FACES[number];
baseValue: number;
};
@advaith1
advaith1 / discordjs-slash-commands.md
Last active July 28, 2024 00:12
Slash Commands in Discord.js
@thomasbnt
thomasbnt / code_colors_discordjs.md
Last active November 17, 2024 13:42
Code colors for embed discord.js

Here is an updated list of the colors that are currently implemented with a name. To using colors on discord.js, this is a typedef Colors, Colors.Aqua to get the Aqua color.

Name Int value Hex Code
Default 0 #000000
Aqua 1752220 #1ABC9C
DarkAqua 1146986 #11806A
Green 5763719 #57F287
DarkGreen 2067276 #1F8B4C
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active November 19, 2024 02:23
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example