generated from nhcarrigan/template
fix: add flag
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
ButtonBuilder,
|
||||
ButtonStyle,
|
||||
ContainerBuilder,
|
||||
MessageFlags,
|
||||
SeparatorBuilder,
|
||||
SeparatorSpacingSize,
|
||||
TextDisplayBuilder,
|
||||
@@ -104,6 +105,7 @@ const messageCreate = async(
|
||||
setURL("https://forum.nhcarrigan.com"),
|
||||
),
|
||||
],
|
||||
flags: [ MessageFlags.IsComponentsV2 ],
|
||||
}).catch(() => {
|
||||
// If we cannot send the DM, we do not want to throw an error.
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user