mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 08:03:30 +01:00
chore: docs
This commit is contained in:
@@ -13,8 +13,10 @@ export class Refineable {
|
||||
* .setTitle('Hello World')
|
||||
* .setDescription('This is a description')
|
||||
* .refine((b) => {
|
||||
* const intermediateValue = computeSomething();
|
||||
* b.setFooter(`Computed value: ${intermediateValue}`);
|
||||
* if (externalVariable) {
|
||||
* b.setColor('Red');
|
||||
* b.setColor(0xff0000);
|
||||
* }
|
||||
* });
|
||||
* ```
|
||||
|
||||
Reference in New Issue
Block a user