/[sudobot]/trunk/src/utils/getUser.ts
ViewVC logotype

Diff of /trunk/src/utils/getUser.ts

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 186 by rakin, Mon Jul 29 17:28:56 2024 UTC revision 344 by rakin, Mon Jul 29 17:29:40 2024 UTC
# Line 1  Line 1 
1  import { CommandInteraction, GuildMember, Message, User } from "discord.js";  import { Message, User } from "discord.js";
2  import DiscordClient from "../client/Client";  import DiscordClient from "../client/Client";
3  import CommandOptions from "../types/CommandOptions";  import CommandOptions from "../types/CommandOptions";
 import InteractionOptions from "../types/InteractionOptions";  
4  import { parseUser } from './parseInput';  import { parseUser } from './parseInput';
5    
6  export default async function getUser(client: DiscordClient, msgInteraction: Message, options: CommandOptions, index: number = 0): Promise<User | null | undefined> {  export default async function getUser(client: DiscordClient, msgInteraction: Message, options: CommandOptions, index: number = 0): Promise<User | null | undefined> {

Legend:
Removed from v.186  
changed lines
  Added in v.344

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26