I’ve found this feature especially useful. Enter Clear XX (XX is the number of texts you want to get rid of)Īlternatively, you can delete specific messages from an individual user.Click Add to Discord (to invite it to your server).One of the most popular discord bots, MEE6, can help with your problem.īefore I get started, know that you can only use it if you’re a server moderator. There are 4 different methods to try: Method 1: Use MEE6 Bot So, when my friend asked me how to get rid of spam from a raid, I was able to tell him what to do. However, deleting multiple texts from a private chat is another story. You have a plethora of different bots to work with. You can now run the following command in your terminal to start the bot.If you’re wondering how to delete multiple messages on Discord, it’s easy on a server channel. At this point you're pretty much done.env file and replace your_open_weather_map_api_key with it. Input a name for your key and hit Generate.Ĭopy the newly generated key, go to the. On the homepage, click on your username and go to My API keys. In order for the weather command to work, you'll need to generate a key for the OpenWeatherMap API. There should be 25 databases in total, which equates to 25 connection strings. Replace myFirstDatabase with the name of the database that you created for the corresponding field. Replace with the password you set on your cluster. Replace database_url with the url you copied in all fields of the. Here you have to choose Node.js and the 2.2.12 or later version. Go back to your cluster overview, click Connect and choose the second option. Repeat for the remaining fields ( bns, disabledCmds, kks, leaveMessages, leaveChannels, logChannels, msgLogs, mts, mutedMembers, names, notes, punishments, reminders, suggestionChannels, toggleLeaveMsg, toggleWelcomeDm, toggleWelcomeMsg, welcomeChannels, welcomeDms, welcomeMessages, welcomeRoles & wrns). The name of the database is up to you but make sure it's something suggestive as you'll need it later. Here you have to create a database for each field in the. Once the cluster goes live, click on Browse Collections and hit Create Database. The creation process can take several minutes, so be patient. Select your prefered options (there are options for free tier clusters too). Start by registering an account at MongoDB. Here comes the trickier part, setting up a MongoDB database for the bot to store its data in. You can finally edit your botInviteLink, discordInviteLink, topgg, website and github fields with your own urls (or leave them empty). Repeat for the bug reports channel by editing the bugChId field. Replace the changeme in the suggestionChId field with the ID you copied. Right click on the suggestions channel, then hit Copy ID. For those to work, you have to create 2 channels for suggestions and bug reports respectively. The bot offers suggestions and bug reporting features. env file and replace your_bot_token with the token you just copied, then hit save. With your text editor, navigate into the. Open the code using your preferred text editor (I recommend sticking to Visual Studio Code). This token is the password for your bot account, so you want to keep that as secure as possible in an environment variable. Here you want to click on Copy to copy your bot's token. Go back to the Developer Portal into your browser and navigate into Bot. Simply replace with your bot client ID you just copied in the template below, then use it to invite the bot. The invite url will contain your bot's user ID (which you can copy from the Application menu). In order to have your bot join any servers, you have to create an invite link. You want to make sure that the Server Members Intent stays enabled. Here you can give your bot a username, description (that will show up in the About Me section) and an avatar. Open your browser, go to Discord's Developer Portal, click on New Application and give your application a name.Ĭlick on the application you've just created and navigate into Bot. Please note though, I strongly advice that you have a decent understanding of JavaScript, Node.js and discord.js before diving into this. If you stumble across any issues with setting it up, my Discord server is the right place to seek help. This guide will cover all the steps needed to get a bot up and running from absolute scratch using my source code. You can invite my official bot running on the latest version from here. I would recommend everyone to add this to their respective servers.Ī really useful and easy to use bot. Moderation, role management, logging and more, all in an easy to use, feature rich and bug free Discord bot!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |