Skip to content

Commit

Permalink
routes interaction: fix malformed function definition
Browse files Browse the repository at this point in the history
  • Loading branch information
denbeigh2000 committed Dec 23, 2023
1 parent abed5f6 commit dfcd69c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/interaction/group/delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export const subcommand: APIApplicationCommandSubcommandOption = {
export const handler = async (
manager: GroupManager,
name: string,
userId: string
): Promise<RESTPostAPIWebhookWithTokenJSONBody> {
userId: string,
): Promise<RESTPostAPIWebhookWithTokenJSONBody> => {
const flags = MessageFlags.Ephemeral & MessageFlags.Urgent;
const user = await manager.getGuildMember(userId);
if (!user) {
Expand Down

0 comments on commit dfcd69c

Please sign in to comment.