2 Commits

Author SHA1 Message Date
jaron cef02241d6 fix typo in README example 2026-06-21 15:27:56 -05:00
jaron 565eece049 fixing some website css 2025-10-14 09:44:53 -05:00
2 changed files with 11 additions and 7 deletions
+3 -3
View File
@@ -112,9 +112,9 @@ You can also generate a hydration function that returns a type narrowing boolean
```typescript
client.chatCommands.register('me', async (context: Context, _args: any[]) => {
// Hydrate the message id from the context
const hydrate = await context.hydrator(hydrated, [Expectation.Guild]);
const hydrate = await context.hydrator(context, [Expectation.Guild]);
// Check if the object is hydrated
const hasGuild = hydrate(hydrated);
const hasGuild = hydrate(context);
if (hasGuild) {
// Send a message stating the user that they are in a guild
@@ -223,4 +223,4 @@ const quotesCommandHandler = createCommandHandler({
client.chatCommands.register('quotes', quotesCommandHandler);
client.applicationCommands.register('quotes', ApplicationCommandType.Chat, quotesCommandHandler);
```
```
+8 -4
View File
@@ -175,7 +175,7 @@
}
.pillars {
padding: 6rem 12em;
padding: 6rem 6em;
background: var(--gray-alpha-100);
min-height: 50vh;
display: flex;
@@ -226,7 +226,7 @@
}
.hydrationSection {
padding: 6rem 12em;
padding: 6rem 6em;
min-height: 50vh;
display: flex;
align-items: space;
@@ -252,12 +252,14 @@
.hydrationText {
flex: 1;
/* padding: 2rem; */
min-width: 400px;
}
.hydrationText h2 {
color: #ff0080;
margin: 0 0 1.5rem 0;
font-size: 2rem;
min-width: 400px;
}
.hydrationText p {
@@ -266,10 +268,11 @@
margin: 1rem 0;
font-size: 1.1rem;
line-height: 1.6;
min-width: 400px;
}
.typeSection {
padding: 6rem 12em;
padding: 6rem 6em;
min-height: 50vh;
display: flex;
align-items: space;
@@ -289,6 +292,7 @@
.typeText {
flex: 1;
min-width: 400px;
}
.typeCode {
@@ -322,7 +326,7 @@
}
.installSection {
padding: 6rem 12em;
padding: 6rem 6em;
min-height: 30vh;
display: flex;
align-items: center;