BaseManager
ManagerOn this page
BaseManager is the cache and REST facade for Base objects owned by the parent. Typical calls are fetch, create, edit, delete, resolve, and resolveId.
Constructor
BaseManager.new(client) The class table is callable, so BaseManager(client) is the same as .new.
| Name | Type | Required | Behavior |
|---|---|---|---|
client |
any |
required | Passed through to the implementation as written. |
local discord = require("discord")
local object = discord.BaseManager({})Properties
- Name
client- Type
any- Access
- readonly
- Description
- Owning Client instance used for REST, cache, and event dispatch.
- Availability
- Populated from the Gateway/REST payload or constructor for this BaseManager.
Examples
local discord = require("discord")
local object = discord.BaseManager({})Related APIs
ApplicationCommandManager · ApplicationCommandPermissionsManager · ApplicationEmojiManager · AutoModerationRuleManager · BaseGuildEmojiManager · CachedManager · CategoryChannelChildManager · ChannelManager
Version: discord 1.2.4 · runtime 1.0.0