#Possibly change Message.startThread to accept an object
13 messages · Page 1 of 1 (latest)
Perhaps. GuildChannelManager#create takes an object (although it has a lot more params), and so does GuildMember#ban (which only has two)
But some methods like GuildEmojiManager#create take both "regular" parameters and an optional object
I'm just saying that because the transition from message.startThread to threadManager.create is very annoying
and recently there's been a lot of changes in the direction of using objects all across the lib
so it makes sense to me
You should probably get input from maintainers and other people. I think its a good idea
Maybe change some other methods, too
what other methods?
manager #create methods
and yeah i want input from maintainers but this thread was ignored lol
Possibly change Message.startThread to accept an object
#6244 in discordjs/discord.js by ImRodry opened <t:1627695334:R> (review required)
refactor(Message): accept a single object instead of 3 arguments
📥 npm i ImRodry/discord.js#startthread-refactor