mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-30 21:12:58 +00:00 
			
		
		
		
	Update intents with small typo fixes
This commit is contained in:
		| @@ -5,7 +5,7 @@ | ||||
| A Primer to Gateway Intents | ||||
| ============================= | ||||
|  | ||||
| In version 1.5 comes with the introduction of :class:`Intents`. This is a radical change in how bots are written. An intent basically allows a bot to subscribe into specific buckets of events. The events that correspond to each intent is documented in the individual attribute of the :class:`Intents` documentation. | ||||
| In version 1.5 comes the introduction of :class:`Intents`. This is a radical change in how bots are written. An intent basically allows a bot to subscribe into specific buckets of events. The events that correspond to each intent is documented in the individual attribute of the :class:`Intents` documentation. | ||||
|  | ||||
| These intents are passed to the constructor of :class:`Client` or its subclasses (:class:`AutoShardedClient`, :class:`~.AutoShardedBot`, :class:`~.Bot`) with the ``intents`` argument. | ||||
|  | ||||
| @@ -152,7 +152,7 @@ For example: | ||||
|     # client = discord.Client(intents=intents) | ||||
|     # or | ||||
|     # from discord.ext import commands | ||||
|     # bot = commands.Bot(intents=intents) | ||||
|     # bot = commands.Bot(command_prefix="!", intents=intents) | ||||
|  | ||||
| Why does ``on_ready`` take so long to fire? | ||||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user