Skip to content

bug: client crashes while parsing discord system messages #45

@hideonrosie

Description

@hideonrosie

Issue checklist

  • I have checked the FAQs.
  • I have searched the existing issues to make sure this isn't a duplicate.
  • I have discussed this issue on the support server.

Issue description

So, i just got botclient crashed when switching from other channel to a channel that have AutoMod logging

Here is the crash report:

TypeError: Cannot read properties of undefined (reading 'startsWith')
    at r (file:///C:/Users/Admin/AppData/Local/Programs/botclient/resources/app.asar/build/static/js/main.89189ca3.js:2:1698255)
    at discord-messages
    at _ (file:///C:/Users/Admin/AppData/Local/Programs/botclient/resources/app.asar/build/static/js/main.89189ca3.js:2:115420)
    at DiscordMessages
    at main
    at div
    at div
    at r (file:///C:/Users/Admin/AppData/Local/Programs/botclient/resources/app.asar/build/static/js/main.89189ca3.js:2:1689800)
    at div
    at div
    at n (file:///C:/Users/Admin/AppData/Local/Programs/botclient/resources/app.asar/build/static/js/main.89189ca3.js:2:1672985)
    at div
    at div
    at div
    at div
    at div
    at div
    at n (file:///C:/Users/Admin/AppData/Local/Programs/botclient/resources/app.asar/build/static/js/main.89189ca3.js:2:1720516)
    at n (file:///C:/Users/Admin/AppData/Local/Programs/botclient/resources/app.asar/build/static/js/main.89189ca3.js:2:1598774)

Current behavior

No response

Expected behavior

No response

BotClient version

v0.10.3

Operating System

Windows 10 21H2. Build 19044.1826

How did you download the application?

From GitHub releases (or links from the readme)

Priority this issue should have

Medium (should be fixed soon)

Addition information

No response

Metadata

Metadata

Assignees

Labels

Bug: ConfirmedIssues that report confirmed bugs.Priority: MediumIssues that must be fixed or PRs that must be finished and merged with medium priority.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions