Fix PluralKit replies (properly)
This commit is contained in:
@@ -259,7 +259,7 @@ async function pollToEvent(poll) {
|
|||||||
* @returns {Promise<{$type: string, $sender?: string, [x: string]: any}[]>}
|
* @returns {Promise<{$type: string, $sender?: string, [x: string]: any}[]>}
|
||||||
*/
|
*/
|
||||||
async function messageToEvent(message, guild, options = {}, di) {
|
async function messageToEvent(message, guild, options = {}, di) {
|
||||||
message = {...message}
|
message = structuredClone(message)
|
||||||
const events = []
|
const events = []
|
||||||
|
|
||||||
/* c8 ignore next 7 */
|
/* c8 ignore next 7 */
|
||||||
|
|||||||
Reference in New Issue
Block a user