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 { Client } from '../models/client.ts' | ||||||
| import { CHANNEL } from '../types/endpoint.ts' |  | ||||||
| import { BaseChildManager } from './baseChild.ts' | import { BaseChildManager } from './baseChild.ts' | ||||||
| import { RolePayload } from "../types/role.ts" | import { RolePayload } from "../types/role.ts" | ||||||
| import { Role } from "../structures/role.ts" | import { Role } from "../structures/role.ts" | ||||||
|  | @ -25,10 +24,6 @@ export class MemberRolesManager extends BaseChildManager< | ||||||
|     else return undefined |     else return undefined | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   async delete(id: string): Promise<boolean> { |  | ||||||
|     return this.client.rest.delete(CHANNEL(id)) |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   async array (): Promise<Role[]> { |   async array (): Promise<Role[]> { | ||||||
|     const arr = (await this.parent.array()) as Role[] |     const arr = (await this.parent.array()) as Role[] | ||||||
|     const mem = await (this.parent as any).guild.members._get(this.member.id) as MemberPayload |     const mem = await (this.parent as any).guild.members._get(this.member.id) as MemberPayload | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue