x
This commit is contained in:
		
							parent
							
								
									f2a8c86dde
								
							
						
					
					
						commit
						08f2f653f9
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -2,6 +2,7 @@ | ||||||
| // adapted to work with harmony rest manager
 | // adapted to work with harmony rest manager
 | ||||||
| 
 | 
 | ||||||
| /* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */ | /* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */ | ||||||
|  | 
 | ||||||
| import { delay } from '../utils/delay.ts' | import { delay } from '../utils/delay.ts' | ||||||
| import { DiscordAPIError, HTTPError } from './error.ts' | import { DiscordAPIError, HTTPError } from './error.ts' | ||||||
| import type { RESTManager } from './manager.ts' | import type { RESTManager } from './manager.ts' | ||||||
|  | @ -183,9 +184,8 @@ export class BucketHandler { | ||||||
|       if (res.status === 429) { |       if (res.status === 429) { | ||||||
|         this.manager.client?.emit( |         this.manager.client?.emit( | ||||||
|           'debug', |           'debug', | ||||||
|           `Rate-limited on route ${request.path}${ |           `Rate-Limited on route ${request.path}${ | ||||||
|             // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
 |             sublimitTimeout !== undefined ? ' for sublimit' : '' | ||||||
|             sublimitTimeout ? ' for sublimit' : '' |  | ||||||
|           }` |           }` | ||||||
|         ) |         ) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue