See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
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 |
The discord.js interactions PR has been merged, and d.js master (v13 dev) now has proper support for slash commands!
Official resources:
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; | |
}; |
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 |
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'; |