commit
						87c1efe147
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		|  | @ -91,8 +91,7 @@ export class GuildBans { | |||
|       null, | ||||
|       true | ||||
|     ) | ||||
| 
 | ||||
|     if (res.status !== 204) throw new Error('Failed to Add Guild Ban') | ||||
|     if (res.response.status !== 204) throw new Error('Failed to Add Guild Ban') | ||||
|   } | ||||
| 
 | ||||
|   /** | ||||
|  | @ -108,7 +107,7 @@ export class GuildBans { | |||
|       true | ||||
|     ) | ||||
| 
 | ||||
|     if (res.status !== 204) return false | ||||
|     if (res.response.status !== 204) return false | ||||
|     else return true | ||||
|   } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue