WIP: feature: threads'n'forums #74

Draft
Guzio wants to merge 109 commits from Guzio/out-of-your-element:mergable-fr-fr into main
Showing only changes of commit 0ad4b41ae9 - Show all commits

View file

@ -281,7 +281,7 @@ const commands = [{
} }
try { try {
if (attachedToMessage) return discord.snow.channel.createThreadWithMessage(channelID, attachedToMessage, {name: words.slice(1).join(" ")}) if (attachedToMessage) await discord.snow.channel.createThreadWithMessage(channelID, attachedToMessage, {name: words.slice(1).join(" ")})
else throw {code: "NO_ATTACH_TARGET", was_supposed_to_be: attachedToEvent}; else throw {code: "NO_ATTACH_TARGET", was_supposed_to_be: attachedToEvent};
} }
catch (e){ catch (e){