mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 15:57:54 +02:00
Fix lint
This commit is contained in:
@@ -2,9 +2,9 @@ const Collection = require('@discordjs/collection');
|
|||||||
|
|
||||||
module.exports = class PhoneManager extends Collection {
|
module.exports = class PhoneManager extends Collection {
|
||||||
constructor(client, options) {
|
constructor(client, options) {
|
||||||
Object.defineProperty(this, 'client', { value: client });
|
|
||||||
|
|
||||||
super(options);
|
super(options);
|
||||||
|
|
||||||
|
Object.defineProperty(this, 'client', { value: client });
|
||||||
}
|
}
|
||||||
|
|
||||||
inCall(channel) {
|
inCall(channel) {
|
||||||
@@ -19,5 +19,4 @@ module.exports = class PhoneManager extends Collection {
|
|||||||
|| (origin.guild && recipient.guild && origin.topic.includes(`<xiao:phone:block:${recipient.guild.id}>`))
|
|| (origin.guild && recipient.guild && origin.topic.includes(`<xiao:phone:block:${recipient.guild.id}>`))
|
||||||
|| (origin.guild && origin.topic.includes(`<xiao:phone:block:${caller.id}>`));
|
|| (origin.guild && origin.topic.includes(`<xiao:phone:block:${caller.id}>`));
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user