Fix the requested part and mute eslint for now
This commit is contained in:
		
							parent
							
								
									8b564a4b49
								
							
						
					
					
						commit
						e99bf61f3a
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -99,7 +99,6 @@ export class RolesManager extends BaseManager<RolePayload, Role> { | |||
|       options | ||||
|     ) | ||||
| 
 | ||||
|     const result = new Role(this.client, resp, this.guild) | ||||
|     return result | ||||
|     return new Role(this.client, resp, this.guild) | ||||
|   } | ||||
| } | ||||
|  |  | |||
|  | @ -135,6 +135,7 @@ export class Collector extends EventEmitter { | |||
|   } | ||||
| 
 | ||||
|   /** Returns a Promise resolved when Collector ends or a timeout occurs */ | ||||
|   // eslint-disable-next-line
 | ||||
|   async wait(timeout: number = this.timeout ?? 0): Promise<Collector> { | ||||
|     return await new Promise((resolve, reject) => { | ||||
|       // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue