File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ type Contexts = IntegrationContextType | 0 | 1 | 2;
187187export type ValidMemberPermissions =
188188 | typeof PermissionFlagsBits //discord.js enum
189189 | Array < typeof PermissionFlagsBits >
190- | string //must be a stringified number
190+ | `${ number } ` //must be a stringified number
191191 | bigint
192192
193193export interface PublishConfig {
@@ -214,7 +214,6 @@ const IntegrationType = {
214214export const publishConfig = ( config : ValidPublishOptions ) => {
215215 return CommandInitPlugin ( ( { module, absPath } ) => {
216216 if ( ( module . type & PUBLISHABLE ) === 0 ) {
217- //@ts -ignore
218217 return controller . stop ( "Cannot publish this module; Not of type Both,Slash,CtxUsr,CtxMsg." ) ;
219218 }
220219 let _config = config
You can’t perform that action at this time.
0 commit comments