Remove MemberRolesManager#delete
This commit is contained in:
		
							parent
							
								
									72f0b91643
								
							
						
					
					
						commit
						9c9726259b
					
				
					 1 changed files with 0 additions and 5 deletions
				
			
		|  | @ -1,5 +1,4 @@ | |||
| import { Client } from '../models/client.ts' | ||||
| import { CHANNEL } from '../types/endpoint.ts' | ||||
| import { BaseChildManager } from './baseChild.ts' | ||||
| import { RolePayload } from "../types/role.ts" | ||||
| import { Role } from "../structures/role.ts" | ||||
|  | @ -24,10 +23,6 @@ export class MemberRolesManager extends BaseChildManager< | |||
|     if (res !== undefined && mem.roles.includes(res.id) === true) return res | ||||
|     else return undefined | ||||
|   } | ||||
|    | ||||
|   async delete(id: string): Promise<boolean> { | ||||
|     return this.client.rest.delete(CHANNEL(id)) | ||||
|   } | ||||
| 
 | ||||
|   async array (): Promise<Role[]> { | ||||
|     const arr = (await this.parent.array()) as Role[] | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue