mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 13:56:43 +02:00
hehe
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
/* eslint-disable */
|
||||||
const { Message } = require('discord.js');
|
const { Message } = require('discord.js');
|
||||||
|
|
||||||
Reflect.defineProperty(Message.prototype, 'say', { value: function (content, options) {
|
Reflect.defineProperty(Message.prototype, 'say', { value: function (content, options) {
|
||||||
@@ -22,3 +23,4 @@ Reflect.defineProperty(Message.prototype, 'reply', { value: function (content, o
|
|||||||
if (typeof content === 'object') return this.channel.send(content, { reply: { messageReference: this } });
|
if (typeof content === 'object') return this.channel.send(content, { reply: { messageReference: this } });
|
||||||
return this.channel.send({ content, ...options, reply: { messageReference: this } });
|
return this.channel.send({ content, ...options, reply: { messageReference: this } });
|
||||||
} });
|
} });
|
||||||
|
/* eslint-enable */
|
||||||
|
|||||||
Reference in New Issue
Block a user