jellycommands icon indicating copy to clipboard operation
jellycommands copied to clipboard

Refactor command "context" system & Support User Apps

Open ghostdevv opened this issue 1 year ago • 3 comments

  • [ ] Move the context settings into a nested object
  • [ ] breaking: Make global the default

ghostdevv avatar Apr 21 '24 05:04 ghostdevv

another idea

context?: {
	/** @default true */
	global?: boolean;
	
	/** @default false */
	dm?: boolean;

	/** @default false */
	user?: boolean;

	/** @default [] */
	guilds?: string[] // todo should this be able to accept an async function? if so when should that run
}

ghostdevv avatar Apr 21 '24 18:04 ghostdevv

worth considering the learning curve each approach adds

ghostdevv avatar Apr 21 '24 18:04 ghostdevv