mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 08:34:15 +02:00
feat(arabot): update IDs to be able to switch between development IDs and normal IDs
This commit is contained in:
parent
ed5327aae2
commit
f0b0408a71
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
import { Command, RegisterBehavior } from '@sapphire/framework';
|
import { Command, RegisterBehavior } from '@sapphire/framework';
|
||||||
import type { TextChannel } from 'discord.js';
|
import type { TextChannel } from 'discord.js';
|
||||||
import { IDs } from '../../utils/ids';
|
import IDs from '../../utils/ids';
|
||||||
|
|
||||||
export class ToggleOpenCommand extends Command {
|
export class ToggleOpenCommand extends Command {
|
||||||
public constructor(context: Command.Context, options: Command.Options) {
|
public constructor(context: Command.Context, options: Command.Options) {
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Command, RegisterBehavior } from '@sapphire/framework';
|
import { Command, RegisterBehavior } from '@sapphire/framework';
|
||||||
import { IDs } from '../../utils/ids';
|
import IDs from '../../utils/ids';
|
||||||
|
|
||||||
export class VegCuriousCommand extends Command {
|
export class VegCuriousCommand extends Command {
|
||||||
public constructor(context: Command.Context, options: Command.Options) {
|
public constructor(context: Command.Context, options: Command.Options) {
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
import { Command, RegisterBehavior } from '@sapphire/framework';
|
import { Command, RegisterBehavior } from '@sapphire/framework';
|
||||||
import { isMessageInstance } from '@sapphire/discord.js-utilities';
|
import { isMessageInstance } from '@sapphire/discord.js-utilities';
|
||||||
import { IDs } from '../../utils/ids';
|
import IDs from '../../utils/ids';
|
||||||
|
|
||||||
export class purgeVerifyingCommand extends Command {
|
export class purgeVerifyingCommand extends Command {
|
||||||
public constructor(context: Command.Context, options: Command.Options) {
|
public constructor(context: Command.Context, options: Command.Options) {
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
import { AllFlowsPrecondition } from '@sapphire/framework';
|
import { AllFlowsPrecondition } from '@sapphire/framework';
|
||||||
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
||||||
import { IDs } from '../utils/ids';
|
import IDs from '../utils/ids';
|
||||||
import type { GuildMember } from 'discord.js';
|
import type { GuildMember } from 'discord.js';
|
||||||
|
|
||||||
export class CoordinatorOnlyPrecondition extends AllFlowsPrecondition {
|
export class CoordinatorOnlyPrecondition extends AllFlowsPrecondition {
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
import { AllFlowsPrecondition } from '@sapphire/framework';
|
import { AllFlowsPrecondition } from '@sapphire/framework';
|
||||||
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
||||||
import { IDs } from '../utils/ids';
|
import IDs from '../utils/ids';
|
||||||
import type { GuildMember } from 'discord.js';
|
import type { GuildMember } from 'discord.js';
|
||||||
|
|
||||||
export class DevCoordinatorOnlyPrecondition extends AllFlowsPrecondition {
|
export class DevCoordinatorOnlyPrecondition extends AllFlowsPrecondition {
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
import { AllFlowsPrecondition } from '@sapphire/framework';
|
import { AllFlowsPrecondition } from '@sapphire/framework';
|
||||||
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
||||||
import { IDs } from '../utils/ids';
|
import IDs from '../utils/ids';
|
||||||
import type { GuildMember } from 'discord.js';
|
import type { GuildMember } from 'discord.js';
|
||||||
|
|
||||||
export class DiversityCoordinatorOnlyPrecondition extends AllFlowsPrecondition {
|
export class DiversityCoordinatorOnlyPrecondition extends AllFlowsPrecondition {
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
import { AllFlowsPrecondition } from '@sapphire/framework';
|
import { AllFlowsPrecondition } from '@sapphire/framework';
|
||||||
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
||||||
import { IDs } from '../utils/ids';
|
import IDs from '../utils/ids';
|
||||||
import type { GuildMember } from 'discord.js';
|
import type { GuildMember } from 'discord.js';
|
||||||
|
|
||||||
export class MentorCoordinatorOnlyPrecondition extends AllFlowsPrecondition {
|
export class MentorCoordinatorOnlyPrecondition extends AllFlowsPrecondition {
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
import { AllFlowsPrecondition } from '@sapphire/framework';
|
import { AllFlowsPrecondition } from '@sapphire/framework';
|
||||||
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
||||||
import { IDs } from '../utils/ids';
|
import IDs from '../utils/ids';
|
||||||
import type { GuildMember } from 'discord.js';
|
import type { GuildMember } from 'discord.js';
|
||||||
|
|
||||||
export class ModOnlyPrecondition extends AllFlowsPrecondition {
|
export class ModOnlyPrecondition extends AllFlowsPrecondition {
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
import { AllFlowsPrecondition } from '@sapphire/framework';
|
import { AllFlowsPrecondition } from '@sapphire/framework';
|
||||||
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
||||||
import { IDs } from '../utils/ids';
|
import IDs from '../utils/ids';
|
||||||
import type { GuildMember } from 'discord.js';
|
import type { GuildMember } from 'discord.js';
|
||||||
|
|
||||||
export class PatreonOnlyPrecondition extends AllFlowsPrecondition {
|
export class PatreonOnlyPrecondition extends AllFlowsPrecondition {
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
import { AllFlowsPrecondition } from '@sapphire/framework';
|
import { AllFlowsPrecondition } from '@sapphire/framework';
|
||||||
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
||||||
import { IDs } from '../utils/ids';
|
import IDs from '../utils/ids';
|
||||||
import type { GuildMember } from 'discord.js';
|
import type { GuildMember } from 'discord.js';
|
||||||
|
|
||||||
export class VerifierCoordinatorOnlyPrecondition extends AllFlowsPrecondition {
|
export class VerifierCoordinatorOnlyPrecondition extends AllFlowsPrecondition {
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
import { AllFlowsPrecondition } from '@sapphire/framework';
|
import { AllFlowsPrecondition } from '@sapphire/framework';
|
||||||
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
import type { CommandInteraction, ContextMenuInteraction, Message } from 'discord.js';
|
||||||
import { IDs } from '../utils/ids';
|
import IDs from '../utils/ids';
|
||||||
import type { GuildMember } from 'discord.js';
|
import type { GuildMember } from 'discord.js';
|
||||||
|
|
||||||
export class VerifierOnlyPrecondition extends AllFlowsPrecondition {
|
export class VerifierOnlyPrecondition extends AllFlowsPrecondition {
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
import { container } from '@sapphire/framework';
|
import { container } from '@sapphire/framework';
|
||||||
import type { TextChannel } from 'discord.js';
|
import type { TextChannel } from 'discord.js';
|
||||||
import { IDs } from '../utils/ids';
|
import IDs from '../utils/ids';
|
||||||
|
|
||||||
export async function standupRun() {
|
export async function standupRun() {
|
||||||
const { client } = container;
|
const { client } = container;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user