mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
remove unused variables
This commit is contained in:
parent
eaff0ef132
commit
00bacd550f
1 changed files with 0 additions and 4 deletions
4
index.js
4
index.js
|
@ -1,4 +1,3 @@
|
|||
/* eslint-disable no-unused-vars */
|
||||
/* eslint-disable no-var */
|
||||
/* eslint-disable prefer-rest-params */
|
||||
/* eslint-disable no-tabs */
|
||||
|
@ -20,9 +19,7 @@ const rl = readline.createInterface({input, output});
|
|||
const moment = require('moment-timezone');
|
||||
const cowsay = require('cowsay2');
|
||||
const cows = require('cowsay2/cows');
|
||||
const {stylize} = require('./util/colors/minecraft');
|
||||
const util = require('node:util');
|
||||
const {between} = require('./util/between');
|
||||
const {escapeMarkdown} = require('./util/escapeMarkdown');
|
||||
const {VM} = require('vm2');
|
||||
const randomstring = require('randomstring');
|
||||
|
@ -476,7 +473,6 @@ dcclient.on('ready', async () => {
|
|||
dcclient.on('messageCreate', async (message) => {
|
||||
// Ignore messages from the bot itself
|
||||
if (message.author.id === dcclient.user.id) return;
|
||||
const channelid = message.channel.id;
|
||||
// if (message.content.toLowerCase().startsWith('!chomensmsg ')) {
|
||||
// bot.core.run(`minecraft:tellraw @a ["",{"text":"[","color":"dark_gray"},{"text":"ChomeNS ","color":"yellow","clickEvent":{"action":"open_url","value":"https://discord.gg/xdgCkUyaA4"},"hoverEvent":{"action":"show_text","contents":[{"text":"https://discord.gg/xdgCkUyaA4 ","color":"blue"},{"text":"<-- join now","color":"red"}]}},{"text":"Discord","color":"blue","clickEvent":{"action":"open_url","value":"https://discord.gg/xdgCkUyaA4"},"hoverEvent":{"action":"show_text","contents":[{"text":"https://discord.gg/xdgCkUyaA4 ","color":"blue"},{"text":"<-- join now","color":"red"}]}},{"text":" (ChomeNS Channel)","color":"gray"},{"text":"] ","color":"dark_gray"},{"text":"${message.member.displayName}","color":"red","clickEvent":{"action":"copy_to_clipboard","value":"${message.author.username}#${message.author.discriminator}"},"hoverEvent":{"action":"show_text","value":{"text":"${message.author.username}§7#${message.author.discriminator}"} }},{"text":" ","color":"white"},` + MessageBuilder.fromString('&7' + message.content.substring(12)) + ']');
|
||||
// return;
|
||||
|
|
Loading…
Reference in a new issue