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 |
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
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'; |
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
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; | |
}; |
The discord.js interactions PR has been merged, and d.js master (v13 dev) now has proper support for slash commands!
Official resources:
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 |