fix webhooks sending (upstream bug)
This commit is contained in:
		
							parent
							
								
									07b9bab5ec
								
							
						
					
					
						commit
						1591bfc578
					
				
					 4 changed files with 46 additions and 21 deletions
				
			
		| 
						 | 
				
			
			@ -9,7 +9,7 @@ const api = sync.require("../../matrix/api")
 | 
			
		|||
 * @param {import("discord-api-types/v10").RESTGetAPIGuildResult} guild
 | 
			
		||||
 */
 | 
			
		||||
async function createSpace(guild) {
 | 
			
		||||
	const roomID = api.createRoom({
 | 
			
		||||
	const roomID = await api.createRoom({
 | 
			
		||||
		name: guild.name,
 | 
			
		||||
		preset: "private_chat",
 | 
			
		||||
		visibility: "private",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue