id support for args
This commit is contained in:
		
							parent
							
								
									a25aef6400
								
							
						
					
					
						commit
						7d621128c3
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -6,9 +6,9 @@ interface MentionToRegex { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| const mentionToRegex: MentionToRegex = { | const mentionToRegex: MentionToRegex = { | ||||||
|   mentionUser: /<@!?(\d{17,19})>/, |   mentionUser: /<@!?(\d{17,19})>|(\d{17,19})/, | ||||||
|   mentionRole: /<@&(\d{17,19})>/, |   mentionRole: /<@&(\d{17,19})>|(\d{17,19})/, | ||||||
|   mentionChannel: /<#(\d{17,19})>/ |   mentionChannel: /<#(\d{17,19})>|(\d{17,19})/ | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| export type CommandArgumentMatchTypes = | export type CommandArgumentMatchTypes = | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue