dscord.types.base

Members

Classes

AsyncChainer
class AsyncChainer(T)

AsyncChainer is a utility for exposing methods that can help chain actions with various delays/resolving patterns.

IModel
class IModel

Base class for all models. Provides a simple interface definition and some utility constructor code.

ModelMap
class ModelMap(TKey, TValue)

ModelMap serves as an abstraction layer around associative arrays that store models. Usually ModelMaps will be a direct mapping of ID (Snowflake) -> Model.

Mixin templates

Model
mixin template Model()

Base template for all models. Provides utility methods for AsyncChaining and a base constructor that calls the parent IModel constructor.

Meta