diff --git a/README.md b/README.md index e4682f7..e3bcb14 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,15 @@ # logori -Proper README.md coming. \ No newline at end of file + +## Installation + +Clone the repo, run `npm install`, run the `index.js` once, then fill the config.json, then rerun the bot. + +However you can invite my hosted version of the bot [here](https://discordapp.com/api/oauth2/authorize?client_id=463829271933354006&permissions=128&scope=bot) and I recommend doing so. + +## How it works + +The BOTLIST.md file contains plenty of documentation on how the bot works. + +## License + +MIT \ No newline at end of file diff --git a/src/cmd/main.js b/src/cmd/main.js index d3a4f26..6d06199 100644 --- a/src/cmd/main.js +++ b/src/cmd/main.js @@ -32,7 +32,7 @@ exports.loadModule = function loadModule() { if (!message.member.permission.has('manageGuild') && message.author.id !== configM.config.owner) return; try { await dbEI.initServer(message.channel.guild.id, message.channel.id); - bot.createMessage(message.channel.id, 'Server **successfully** initted ! The fallback event channel has been set to this channel, you can modify it with the command `set-fallback-channel` in the target channel. See `help` command to get some help with the commands'); + bot.createMessage(message.channel.id, 'Server **successfully** initted ! The fallback event channel has been set to this channel, you can modify it with the command `set-fallback-channel` in the target channel. See to get some help with the commands'); } catch (e) { console.log(e); @@ -40,12 +40,10 @@ exports.loadModule = function loadModule() { } }); commandH.endpoint('^softban <@(.+)>$', async (match, message) => { - console.log(message); if (!message.member.permission.has('kickMembers') && message.author.id !== configM.config.owner) return; let m = findMember(message.channel.guild, bot.user.id); if (!message.member.permission.has('banMembers')) return; - console.log('hey'); try { await bot.banGuildMember(message.channel.guild.id, match[1]); bot.unbanGuildMember(message.channel.guild.id, match[1]);