Fix !newthread throwing an error if a hook cancels thread creation
!newthread ignores beforeNewThread hooks entirely now.cshd
parent
eea6a1c2b7
commit
82f418a299
|
@ -23,6 +23,7 @@ module.exports = ({ bot, knex, config, commands }) => {
|
|||
const createdThread = await threads.createNewThreadForUser(user, {
|
||||
quiet: true,
|
||||
ignoreRequirements: true,
|
||||
ignoreHooks: true,
|
||||
source: "command",
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue