mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Fix various bugs and regressions
This commit is contained in:
parent
8785354a2b
commit
80c572f594
11 changed files with 60 additions and 57 deletions
|
|
@ -101,9 +101,9 @@ namespace PluralKit.Bot
|
|||
{
|
||||
Content = text,
|
||||
Embed = embed,
|
||||
AllowedMentions = mentions
|
||||
// Default to an empty allowed mentions object instead of null (which means no mentions allowed)
|
||||
AllowedMentions = mentions ?? new AllowedMentions()
|
||||
});
|
||||
// TODO: mentions should default to empty and not null?
|
||||
|
||||
if (embed != null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue