generated from nhcarrigan/template
This commit is contained in:
@@ -14,6 +14,7 @@ import type { User, APIMessageTopLevelComponent } from "discord.js";
|
||||
* @returns An array of message component objects.
|
||||
*/
|
||||
export const getComponentsForNaomi
|
||||
// eslint-disable-next-line max-lines-per-function -- Seriously??
|
||||
= (
|
||||
author: User,
|
||||
content: string,
|
||||
@@ -56,6 +57,17 @@ export const getComponentsForNaomi
|
||||
type: 2,
|
||||
url: url,
|
||||
},
|
||||
{
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention -- Discord API convention.
|
||||
custom_id: "resolve",
|
||||
disabled: false,
|
||||
emoji: {
|
||||
name: "✅",
|
||||
},
|
||||
label: "resolve",
|
||||
style: 3,
|
||||
type: 2,
|
||||
},
|
||||
],
|
||||
type: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user