Skip to content

[Bug]: Crash when too early log #20

@enchantuer

Description

@enchantuer

What happened?

The bot crash if a log is attempt in a guild while the bot hasn't yet initialize the logger for each guild.

Steps to reproduce

Just use a commend or an auto-complete when the ready event have been trigger but the bot has't initialize the guild.logger

What is the expected behavior?

The bot should initialize the guild.logger before and so be able to log.

Version

  • OS : windows 10
  • nodejs : 18.9.0
  • discord.js : 14.7.1

Relevant log output

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions