mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-31 13:32:57 +00:00 
			
		
		
		
	Add a warning if interaction endpoint URL is set on login
This commit is contained in:
		| @@ -636,6 +636,11 @@ class Client: | ||||
|         if self._connection.application_id is None: | ||||
|             self._connection.application_id = self._application.id | ||||
|  | ||||
|         if self._application.interactions_endpoint_url is not None: | ||||
|             _log.warning( | ||||
|                 'Application has an interaction endpoint URL set, this means registered components and app commands will not be received by the library.' | ||||
|             ) | ||||
|  | ||||
|         if not self._connection.application_flags: | ||||
|             self._connection.application_flags = self._application.flags | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user