Skip to content

Fixed empty mention array

Created by: Lachee

Summary

Mentionables failed to account for empty arrays. In this situation, it should ping nothing.

Details

An additional check has been placed when creating the mentionable payload to add a empty Parse array when there is no items in the IEnumerable

Notes

I have tested it and it works as expected. The test command D# mention @user has been updated to indicate when it should ping and when it shouldn't.

Merge request reports

Loading