@@ -5,7 +5,7 @@ import { config } from 'dotenv';
55import { fetch } from 'undici' ;
66import { API_BASE_DISCORD } from '../util/constants.js' ;
77import { logger } from '../util/logger.js' ;
8- import { PrerepeaseApplicationCommandContextType , PrerepeaseApplicationIntegrationType } from './auxtypes.js' ;
8+ import { PreReleaseApplicationCommandContextType , PreReleaseApplicationIntegrationType } from './auxtypes.js' ;
99
1010config ( { path : resolve ( dirname ( fileURLToPath ( import . meta. url ) ) , '../../.env' ) } ) ;
1111
@@ -27,13 +27,13 @@ export async function deploy(data: any, dev = false) {
2727 : data . map ( ( command : any ) => ( {
2828 ...command ,
2929 integration_types : [
30- PrerepeaseApplicationIntegrationType . UserInstall ,
31- PrerepeaseApplicationIntegrationType . GuildInstall ,
30+ PreReleaseApplicationIntegrationType . UserInstall ,
31+ PreReleaseApplicationIntegrationType . GuildInstall ,
3232 ] ,
3333 contexts : [
34- PrerepeaseApplicationCommandContextType . Guild ,
35- PrerepeaseApplicationCommandContextType . PrivateChannel ,
36- PrerepeaseApplicationCommandContextType . BotDm ,
34+ PreReleaseApplicationCommandContextType . Guild ,
35+ PreReleaseApplicationCommandContextType . PrivateChannel ,
36+ PreReleaseApplicationCommandContextType . BotDm ,
3737 ] ,
3838 } ) ) ,
3939 ) ,
0 commit comments