nyan
nyan
SIASapphire - Imagine a framework
Created by nyan on 5/23/2023 in #sapphire-support
Paginated message help
kk one more.. question: how can i make a button disabled if its on the first page or last page? I assume this can be done via setting page specific actions but wondering if theres an easier solution
12 replies
SIASapphire - Imagine a framework
Created by nyan on 5/23/2023 in #sapphire-support
Paginated message help
Another question: is there a way to add a cooldown for button interactions?
12 replies
SIASapphire - Imagine a framework
Created by nyan on 5/23/2023 in #sapphire-support
Paginated message help
I meant more as there would be multiple paginatedMessage objects and if the user selects a new category, the whole message would be edited and replaced
12 replies
SIASapphire - Imagine a framework
Created by nyan on 11/15/2022 in #old-sapphire-support
sam - ```srcconfig.ts737 - error TS2345 Argum...
anytime I try to read from env using the @Skyra/env-utilities, I get this error
5 replies
SIASapphire - Imagine a framework
Created by nyan on 11/15/2022 in #old-sapphire-support
sam - ```srcconfig.ts737 - error TS2345 Argum...
import type { Options as MikroOptions } from '@mikro-orm/core';
import type { PostgreSqlDriver } from '@mikro-orm/postgresql';
import { LogLevel } from '@sapphire/framework';
import { envParseArray, envParseString } from '@skyra/env-utilities';
import { GatewayIntentBits } from 'discord-api-types/v10';
import type { ActivitiesOptions, ClientOptions, ExcludeEnum, WebhookClientData } from 'discord.js';
import type { ActivityTypes } from 'discord.js/typings/enums';

export const OWNERS = envParseArray('CLIENT_OWNERS');
import type { Options as MikroOptions } from '@mikro-orm/core';
import type { PostgreSqlDriver } from '@mikro-orm/postgresql';
import { LogLevel } from '@sapphire/framework';
import { envParseArray, envParseString } from '@skyra/env-utilities';
import { GatewayIntentBits } from 'discord-api-types/v10';
import type { ActivitiesOptions, ClientOptions, ExcludeEnum, WebhookClientData } from 'discord.js';
import type { ActivityTypes } from 'discord.js/typings/enums';

export const OWNERS = envParseArray('CLIENT_OWNERS');
5 replies