# `Noizu.Discord.Guilds`
[🔗](https://github.com/noizu-labs-sdks/elixir-discord/blob/v0.1.0/lib/noizu/discord/guilds.ex#L1)

Guild endpoints (and the bot's guild list).

# `channels`

```elixir
@spec channels(Noizu.Discord.Client.t(), String.t(), keyword()) ::
  Noizu.Discord.Request.result()
```

GET /guilds/{guild.id}/channels — the guild's channels (threads excluded).

# `get`

```elixir
@spec get(Noizu.Discord.Client.t(), String.t(), keyword()) ::
  Noizu.Discord.Request.result()
```

GET /guilds/{guild.id} — a guild. Query opts: `:with_counts`.

# `me`

```elixir
@spec me(Noizu.Discord.Client.t(), keyword()) :: Noizu.Discord.Request.result()
```

GET /users/@me/guilds — one page of the bot's guilds. Query opts: `:before`,
`:after`, `:limit` (1–200), `:with_counts`.

# `me_stream`

```elixir
@spec me_stream(Noizu.Discord.Client.t(), keyword()) :: Enumerable.t()
```

GET /users/@me/guilds — lazy stream over all of the bot's guilds (`after` paging).
Opts: `:limit` (page size, default 200), `:after`, `:with_counts`.

# `members`

```elixir
@spec members(Noizu.Discord.Client.t(), String.t(), keyword()) ::
  Noizu.Discord.Request.result()
```

GET /guilds/{guild.id}/members — one page of members (requires the
`GUILD_MEMBERS` privileged intent). Query opts: `:limit` (1–1000), `:after`
(user id).

# `members_stream`

```elixir
@spec members_stream(Noizu.Discord.Client.t(), String.t(), keyword()) ::
  Enumerable.t()
```

GET /guilds/{guild.id}/members — lazy stream over all members, paging with
`after` = largest `user.id`. Opts: `:limit` (page size, default 1000), `:after`
(start cursor).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
