Issue with Kick Command #8

Closed
opened 2020-05-17 22:04:22 -04:00 by matthew · 4 comments
matthew commented 2020-05-17 22:04:22 -04:00 (Migrated from gitlab.libraryofcode.org)

BUG REPORT

Brief Description: Kick command errors when providing ID (other ways of provisioning not tested)

Priority: (1-5, 5 being the most urgent) 3

Steps to Reproduce: (separated with numbers) Run kick command

Expected Result: It kicks user

Actual Result: Errors

Notes: (delete if none)

TypeError: Cannot read property 'id' of undefined
    at Moderation.kick (/opt/communityrelations/build/class/Moderation.js:110:82)
    at Kick.run (/opt/communityrelations/build/commands/kick.js:34:47)
    at default_1.run (/opt/communityrelations/build/events/messageCreate.js:30:32)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

https://discordapp.com/channels/446067825673633794/464982080976322560/711692341521678397

# BUG REPORT **Brief Description:** Kick command errors when providing ID (other ways of provisioning not tested) **Priority:** (1-5, 5 being the most urgent) 3 **Steps to Reproduce:** (separated with numbers) Run kick command **Expected Result:** It kicks user **Actual Result:** Errors **Notes:** (delete if none) ```js TypeError: Cannot read property 'id' of undefined at Moderation.kick (/opt/communityrelations/build/class/Moderation.js:110:82) at Kick.run (/opt/communityrelations/build/commands/kick.js:34:47) at default_1.run (/opt/communityrelations/build/events/messageCreate.js:30:32) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:97:5) ``` https://discordapp.com/channels/446067825673633794/464982080976322560/711692341521678397
matthew commented 2020-05-17 22:04:22 -04:00 (Migrated from gitlab.libraryofcode.org)

changed milestone to %1

changed milestone to %1
Bsian commented 2020-05-19 17:35:19 -04:00 (Migrated from gitlab.libraryofcode.org)

mentioned in commit 4a30a27038

mentioned in commit 4a30a27038411bcb1f899a43ffe9c46eed1a9bb7
Bsian commented 2020-05-19 17:39:06 -04:00 (Migrated from gitlab.libraryofcode.org)

Issue will automatically be closed when merged to master

Issue will automatically be closed when merged to master
Bsian commented 2020-05-22 01:53:24 -04:00 (Migrated from gitlab.libraryofcode.org)

closed via commit 4a30a27038

closed via commit 4a30a27038411bcb1f899a43ffe9c46eed1a9bb7
Sign in to join this conversation.
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: engineering/community-relations#8
There is no content yet.