How to make a moderation bot for a Steemit promotion room in discord
utopian-io·@zenkly·
0.000 HBDHow to make a moderation bot for a Steemit promotion room in discord
<div class="text-justify"> #### What Will I Learn? In the following video, you will learn: - How to create an app in discord - How to connect the bot to our discord server. To use the following methods and properties of the discord library: - client.user.tag - message.author.bot - message.channel.id - message.content - message.reply() - channel.fethMessages() - messages.array () - message.author.name - message.delete() #### Requirements To be able to follow the following tutorial you need: - Node.js installed. - Discord account. - Basic programming knowledge. #### Difficulty - Intermediate #### Description In this video you will learn the process of creating a bot in discord focused on moderation. The bot is focused on the moderation of post promotion channels of steemit in discord. For this we see how to perform moderation tasks such as sending messages to users, delete messages and avoid spam from the same publication by an author. To install node.js you can use the following command. ``` curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - sudo apt-get install -y nodejs ``` The installation of the libraries and dependencies must be done in the folder that we will use for the code of our bot. We use the following commands. ``` npm install --save discord.js npm install --save dotenv ``` The final code created in the video can be obtained in the following link: [CODE](https://gist.github.com/Zenkly/cacae99cc021f928b8392cbdbe6e2c66) <b>Remember not to share the token of your applications with anyone. The application created for this video has been deleted, so the token used in this video has no relevance.</b> #### Video Tutorial https://youtu.be/3-iz9WpALEA #### Curriculum This is my first video of Discord.js </div> <br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@zenkly/how-to-make-a-moderation-bot-for-a-steemit-promotion-room-in-discord">Utopian.io - Rewarding Open Source Contributors</a></em><hr/>
👍 horty, mosqueteros, mayvil, alexos, torkot, karlin, angelggomz, mys, steemnova, cifer, yuxi, qurator, gregory-f, oleg326756, scrooger, samiwhyte, shawkr13, superdavey, mwfiae, bigtom13, shadowspub, theleapingkoala, nwjordan, isedenis, kazompulz, mertimza, skatitauriazul, gutzygwin, brainiac01, teamsarcasm, rhema, supreme-verdict, alphacore, chaostheory, butterfly-effect, skybreaker, mirrorforce, mysticalword, paradoxofchoice, betacore, love-me, omegacore, retrocausality, anof, monster-reborn, chain-reaction, megalithic, thegrandestine, lilith, audiosiren, the-reaper, kittenpics, keky-ochoa, mauriciovite, utopian-io, jesusrafaelmb, gvand, hendersonp, blessed-girl, thomasbnt, decebal2dac, avellana, zenkly,