# Bot
### Attributes:
`token` - `type` **_int_**
- Stores the token that the bot uses to connect to the Discord Gateway
`intents` - `type` **_BotIntents_**
- Stores the result field of the BotIntents class.
`all_guilds` - `type` **_int_**
- Stores the number of guilds your bot is in. Gets this from the discord api's lazy loading.
`info` - `type` **_AppInfo_**
- Stores the application's info it gets through connecting to the API. Work in progress.
## So, how do I make one?
```py
client = Bot("some token", RandomIntentsObject)
@client.command(name="test") # decorator that registers a command
async def test(ctx: Invoked): # Invoked is our context class here
await client.get_guild(1234567) # example, but allows you to call something.
``\`
### Subject to changes.
wanted to PR it but not a collaborator