@sodacore/discord
Version:
Sodacore Discord is a plugin that offers Discord SSO/OAuth2 support and the ability to create bots in a similar controller pattern.
13 lines (12 loc) • 826 B
JavaScript
import { GatewayIntentBits, SlashCommandBuilder } from 'discord.js';
import * as Add from './decorator/add';
import * as Auth from './decorator/auth';
import { Command, ContextMenu, Event, Handler } from './decorator/command';
import { Channel, Client, Field, Guild, Interaction, Option, Query, User } from './decorator/context';
import * as On from './decorator/on';
import DiscordPlugin from './module/plugin';
import DiscordService from './service/discord';
import SlashCommandsProvider from './provider/slash-commands';
import PromptsHelper from './provider/prompts';
export default DiscordPlugin;
export { Add, Auth, Channel, Client, Command, ContextMenu, DiscordService, Event, Field, GatewayIntentBits, Guild, Handler, Interaction, On, Option, PromptsHelper, Query, SlashCommandBuilder, SlashCommandsProvider, User, };