diff --git a/README.md b/README.md index c279a85..73acb5b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ This code could not be created without **Minecraft server util package** ## TO DO * Auto changing status message -* Auto changing status +* Auto changinng bot status (activity) * Status command * Ip command * Version command @@ -27,9 +27,13 @@ This code could not be created without **Minecraft server util package** * Poll/Voting channel * AdminTeam applications * Slash commands -* Send embed message -* Send message/announcement -* Lockdown mode +* Send custom embed message +* Send custom message/announcement +* Lockdown mode (no messages, no new members) * Custom reply for command ip, test and version -* Installation with repl.it -* Better test command \ No newline at end of file +* Installation with repl.it +* Better test command (shows mroe information) +* More text languages (or custom) +* Create threads from every message in voting channel +* Bot status (activity) for players online number +* Get invite link on every bot start \ No newline at end of file diff --git a/events/messageCreate.js b/events/messageCreate.js index 2890f5b..4e0540f 100644 --- a/events/messageCreate.js +++ b/events/messageCreate.js @@ -3,14 +3,11 @@ const version = require('../package.json').version module.exports = async (bot, message) => { if(message.author.bot) return; - if(message.channel.type === "dm") { - if(message.content.includes('minecraft-bot version')) { - message.channel.sendTyping(); - setTimeout(function(){ - message.channel.send({ content: version }); - }, ms('1,5s')); - return; - } + if(message.content.includes(`minecraft-bot version`)) { + message.channel.sendTyping(); + setTimeout(function(){ + message.channel.send({ content: version }); + }, ms('1s')); return; } diff --git a/package.json b/package.json index eba4b6e..1b0a6e5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "minecraft-bot", - "version": "1.1.5", + "version": "1.2.0", "description": "Discord minecraft bot, with which you can check your minecraft server status (online players, version, online status etc.)", "main": "index.js", "scripts": {