Skip to content
This repository was archived by the owner on May 24, 2021. It is now read-only.
This repository was archived by the owner on May 24, 2021. It is now read-only.

table overrides not created #32

@Flachdachs

Description

@Flachdachs

When starting the bot with a blank database and with no invites then the table guilds is created when the first invite happens in the event guildCreate in the catch callback. But the table overrides is not created. And it will not be created anywhere else. In the next ready event the table guilds can be accessed, so the catch callback doesn't create overrides. When overrides doesn't exists the bot doesn't answer to requests, but creates an error message in the log.

tl;dr the catch callback for event guildCreate needs a table create statement for overrides like in the ready event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions