support rich replies, support basic m.mentions
This commit is contained in:
		
							parent
							
								
									5326b7d6be
								
							
						
					
					
						commit
						328ae74b61
					
				
					 7 changed files with 689 additions and 16 deletions
				
			
		| 
						 | 
				
			
			@ -27,7 +27,7 @@ async function sendMessage(message, guild) {
 | 
			
		|||
		await registerUser.syncUser(message.author, message.member, message.guild_id, roomID)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	const events = await messageToEvent.messageToEvent(message, guild)
 | 
			
		||||
	const events = await messageToEvent.messageToEvent(message, guild, api)
 | 
			
		||||
	const eventIDs = []
 | 
			
		||||
	let eventPart = 0 // 0 is primary, 1 is supporting
 | 
			
		||||
	for (const event of events) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue