mirror of
				https://github.com/keanuplayz/TravBot-v3.git
				synced 2024-08-15 02:33:12 +00:00 
			
		
		
		
	Fixed the info command and its problems (kinda)
This commit is contained in:
		
							parent
							
								
									f84cc726be
								
							
						
					
					
						commit
						2e2bd57598
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -145,7 +145,7 @@ export default new Command({ | |||
|         description: "Displays info about mentioned user.", | ||||
|         async run($: CommonLibrary): Promise<any> { | ||||
|             // Transforms the User object into a GuildMember object of the current guild.
 | ||||
|             const member = $.guild?.members.resolve($.args[0]); | ||||
|             const member = $.guild?.members.resolve($.args[0]) ?? (await $.guild?.members.fetch($.args[0])); | ||||
| 
 | ||||
|             if (!member) | ||||
|                 return $.channel.send( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue