mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Temporary workaround for https://github.com/DSharpPlus/DSharpPlus/issues/565
This commit is contained in:
parent
c1d17c2944
commit
892601110f
4 changed files with 21 additions and 4 deletions
|
|
@ -84,5 +84,11 @@ namespace PluralKit.Bot
|
|||
await msg.CreateReactionAsync(DiscordEmoji.FromUnicode(reaction));
|
||||
}
|
||||
}
|
||||
|
||||
public static string WorkaroundForUrlBug(string input)
|
||||
{
|
||||
// Workaround for https://github.com/DSharpPlus/DSharpPlus/issues/565
|
||||
return input.Replace("%20", "+");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue