forked from cadence/out-of-your-element
		
	Remove async from presence update
This commit is contained in:
		
							parent
							
								
									506e8a8269
								
							
						
					
					
						commit
						98ff9b0e8f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -380,7 +380,7 @@ module.exports = {
 | 
			
		|||
	 * @param {import("./discord-client")} client
 | 
			
		||||
	 * @param {DiscordTypes.GatewayPresenceUpdateDispatchData} data
 | 
			
		||||
	 */
 | 
			
		||||
	async onPresenceUpdate(client, data) {
 | 
			
		||||
	onPresenceUpdate(client, data) {
 | 
			
		||||
		const status = data.status
 | 
			
		||||
		if (!status) return
 | 
			
		||||
		setPresence.presenceTracker.incomingPresence(data.user.id, data.guild_id, status)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue