Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

#url: string
client: Client<boolean>
dbs: {
    settings: Model<Settings, {}, {}, {}, Document<unknown, {}, Settings> & Settings & {
        _id: ObjectId;
    }, Schema<Settings, Model<Settings, any, any, any, Document<unknown, any, Settings> & Settings & {
        _id: ObjectId;
    }, any>, {}, {}, {}, {}, DefaultSchemaOptions, Settings, Document<unknown, {}, FlatRecord<Settings>> & FlatRecord<Settings> & {
        _id: ObjectId;
    }>>;
    users: Model<Users, {}, {}, {}, Document<unknown, {}, Users> & Users & {
        _id: ObjectId;
    }, Schema<Users, Model<Users, any, any, any, Document<unknown, any, Users> & Users & {
        _id: ObjectId;
    }, any>, {}, {}, {}, {}, DefaultSchemaOptions, Users, Document<unknown, {}, FlatRecord<Users>> & FlatRecord<Users> & {
        _id: ObjectId;
    }>>;
    weekly: Model<Weekly, {}, {}, {}, Document<unknown, {}, Weekly> & Weekly & {
        _id: ObjectId;
    }, Schema<Weekly, Model<Weekly, any, any, any, Document<unknown, any, Weekly> & Weekly & {
        _id: ObjectId;
    }, any>, {}, {}, {}, {}, DefaultSchemaOptions, Weekly, Document<unknown, {}, FlatRecord<Weekly>> & FlatRecord<Weekly> & {
        _id: ObjectId;
    }>>;
} = ...

Type declaration

  • settings: Model<Settings, {}, {}, {}, Document<unknown, {}, Settings> & Settings & {
        _id: ObjectId;
    }, Schema<Settings, Model<Settings, any, any, any, Document<unknown, any, Settings> & Settings & {
        _id: ObjectId;
    }, any>, {}, {}, {}, {}, DefaultSchemaOptions, Settings, Document<unknown, {}, FlatRecord<Settings>> & FlatRecord<Settings> & {
        _id: ObjectId;
    }>>
  • users: Model<Users, {}, {}, {}, Document<unknown, {}, Users> & Users & {
        _id: ObjectId;
    }, Schema<Users, Model<Users, any, any, any, Document<unknown, any, Users> & Users & {
        _id: ObjectId;
    }, any>, {}, {}, {}, {}, DefaultSchemaOptions, Users, Document<unknown, {}, FlatRecord<Users>> & FlatRecord<Users> & {
        _id: ObjectId;
    }>>
  • weekly: Model<Weekly, {}, {}, {}, Document<unknown, {}, Weekly> & Weekly & {
        _id: ObjectId;
    }, Schema<Weekly, Model<Weekly, any, any, any, Document<unknown, any, Weekly> & Weekly & {
        _id: ObjectId;
    }, any>, {}, {}, {}, {}, DefaultSchemaOptions, Weekly, Document<unknown, {}, FlatRecord<Weekly>> & FlatRecord<Weekly> & {
        _id: ObjectId;
    }>>

Accessors

  • get weekly(): {
        add: ((guildId, data) => Promise<null | Document<unknown, {}, Weekly> & Weekly & {
            _id: ObjectId;
        }>);
        get: ((guildId, id?) => Promise<null | Document<unknown, {}, Weekly> & Weekly & {
            _id: ObjectId;
        }>);
    }
  • Returns {
        add: ((guildId, data) => Promise<null | Document<unknown, {}, Weekly> & Weekly & {
            _id: ObjectId;
        }>);
        get: ((guildId, id?) => Promise<null | Document<unknown, {}, Weekly> & Weekly & {
            _id: ObjectId;
        }>);
    }

    • add: ((guildId, data) => Promise<null | Document<unknown, {}, Weekly> & Weekly & {
          _id: ObjectId;
      }>)
        • (guildId, data): Promise<null | Document<unknown, {}, Weekly> & Weekly & {
              _id: ObjectId;
          }>
        • Parameters

          Returns Promise<null | Document<unknown, {}, Weekly> & Weekly & {
              _id: ObjectId;
          }>

    • get: ((guildId, id?) => Promise<null | Document<unknown, {}, Weekly> & Weekly & {
          _id: ObjectId;
      }>)
        • (guildId, id?): Promise<null | Document<unknown, {}, Weekly> & Weekly & {
              _id: ObjectId;
          }>
        • Parameters

          • guildId: string
          • Optional id: string

          Returns Promise<null | Document<unknown, {}, Weekly> & Weekly & {
              _id: ObjectId;
          }>

Methods

  • Parameters

    • userId: string
    • guildId: string

    Returns Promise<null | Document<unknown, {}, Users> & Users & {
        _id: ObjectId;
    }>

  • Parameters

    Returns Promise<undefined | null | Message<true> | Message<false>>

Generated using TypeDoc