@@ -95,6 +95,8 @@ import {
9595	type  RESTPostAPIGuildsMFAResult , 
9696	type  RESTPostAPIGuildsResult , 
9797	type  RESTPutAPIGuildBanJSONBody , 
98+ 	type  RESTPutAPIGuildIncidentActionsJSONBody , 
99+ 	type  RESTPutAPIGuildIncidentActionsResult , 
98100	type  RESTPutAPIGuildMemberJSONBody , 
99101	type  RESTPutAPIGuildMemberResult , 
100102	type  RESTPutAPIGuildOnboardingJSONBody , 
@@ -1359,4 +1361,23 @@ export class GuildsAPI {
13591361			signal, 
13601362		} )  as  Promise < RESTPutAPIGuildOnboardingResult > ; 
13611363	} 
1364+ 
1365+ 	/** 
1366+ 	 * Modifies incident actions for a guild. 
1367+ 	 * 
1368+ 	 * @see  {@link https://discord.com/developers/docs/resources/guild#modify-guild-incident-actions } 
1369+ 	 * @param  guildId - The id of the guild 
1370+ 	 * @param  body - The data for modifying guild incident actions 
1371+ 	 * @param  options - The options for modifying guild incident actions 
1372+ 	 */ 
1373+ 	public  async  editIncidentActions ( 
1374+ 		guildId : Snowflake , 
1375+ 		body : RESTPutAPIGuildIncidentActionsJSONBody , 
1376+ 		{  signal } : Pick < RequestData ,  'signal' >  =  { } , 
1377+ 	)  { 
1378+ 		return  this . rest . put ( Routes . guildIncidentActions ( guildId ) ,  { 
1379+ 			body, 
1380+ 			signal, 
1381+ 		} )  as  Promise < RESTPutAPIGuildIncidentActionsResult > ; 
1382+ 	} 
13621383} 
0 commit comments