mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-09 18:39:35 +02:00
Fix lint
This commit is contained in:
@@ -46,7 +46,6 @@ module.exports = class DECTalkCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async run(msg, { text }) {
|
async run(msg, { text }) {
|
||||||
const inGuild = msg.guild ? undefined : null;
|
|
||||||
const connection = this.client.voice.connections.get(msg.guild.id);
|
const connection = this.client.voice.connections.get(msg.guild.id);
|
||||||
if (!connection) {
|
if (!connection) {
|
||||||
const usage = this.client.registry.commands.get('join').usage();
|
const usage = this.client.registry.commands.get('join').usage();
|
||||||
|
|||||||
@@ -63,7 +63,6 @@ module.exports = class SoundboardCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async run(msg, { sound }) {
|
async run(msg, { sound }) {
|
||||||
const inGuild = msg.guild ? undefined : null;
|
|
||||||
const connection = this.client.voice.connections.get(msg.guild.id);
|
const connection = this.client.voice.connections.get(msg.guild.id);
|
||||||
if (!connection) {
|
if (!connection) {
|
||||||
const usage = this.client.registry.commands.get('join').usage();
|
const usage = this.client.registry.commands.get('join').usage();
|
||||||
|
|||||||
Reference in New Issue
Block a user