mirror of
				https://github.com/keanuplayz/TravBot-v3.git
				synced 2024-08-15 02:33:12 +00:00 
			
		
		
		
	Fixed small error
This commit is contained in:
		
							parent
							
								
									3b1b8ec914
								
							
						
					
					
						commit
						1954b2d999
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -54,7 +54,7 @@ export default new Command({ | ||||||
|                         ); |                         ); | ||||||
|                         script.runInContext(context, {timeout: REGEX_TIMEOUT_MS}); |                         script.runInContext(context, {timeout: REGEX_TIMEOUT_MS}); | ||||||
|                         emotes = sandbox.emotes; |                         emotes = sandbox.emotes; | ||||||
|                         emoteCollection = emoteCollection.filter((emote) => emote.id in emotes); // Only allow emotes that haven't been deleted.
 |                         emoteCollection = emoteCollection.filter((emote) => emotes.has(emote.id)); // Only allow emotes that haven't been deleted.
 | ||||||
|                         displayEmoteList($, emoteCollection); |                         displayEmoteList($, emoteCollection); | ||||||
|                     } catch (error) { |                     } catch (error) { | ||||||
|                         if (error.code === "ERR_SCRIPT_EXECUTION_TIMEOUT") { |                         if (error.code === "ERR_SCRIPT_EXECUTION_TIMEOUT") { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue