Trending December 2023 # How To Make A Discord Bot # Suggested January 2024 # Top 21 Popular

You are reading the article How To Make A Discord Bot updated in December 2023 on the website We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested January 2024 How To Make A Discord Bot

If you are a Discord user, you must have seen multiple Discord bots on popular servers. Whether it is a music bot or a server moderation bot, there is a bot for almost everything. But in case you are interested to create a Discord bot yourself, follow our guide to make a simple Discord bot in 2023 and beyond.

Create a Discord Bot (2023) Prerequisites to Make a Discord Bot

chúng tôi

We were initially planning to use the popular chúng tôi Python bot for this guide. However, considering the future of the library, we have decided to use the chúng tôi Node library instead. Hence, make sure you have installed chúng tôi on your PC. You can download the latest version of chúng tôi from the official website (visit). You can run the following commands to make sure that you’ve properly installed chúng tôi and npm on your PC:

node -v npm -v

Code editor

To efficiently view, write, and modify code, you can use any of these best text editors for coding. If we were to pick one, we would go with Microsoft’s Visual Studio Code (download), which also has a variety of VSCode themes.

Set Up Discord Bot Account and Add to Discord Server

6. Now, expand the “OAuth2” tab from the left sidebar and switch to the “URL Generator” section. Here, choose “bot” as the scope and allow appropriate permissions for the bot. For this demonstration, we are giving admin permissions to the bot.

Create and Host Discord Bot Locally on Your PC

Now that you have added the bot to your Discord server, it’s time to configure the bot. Just follow the steps below to locally host a Discord bot on your PC.

1. Create a new folder anywhere on your PC. You should then create two files in this folder — .env, chúng tôi In the .env file, paste the bot’s token you copied earlier in the following format:

DISCORD_TOKEN= Paste your token here without quotes

2. Up next, add the following code to your chúng tôi file. With this code, the bot will reply “pong” whenever a user sends “ping”.

require('dotenv').config(); const Discord = require("discord.js"); const client = new Discord.Client({intents: ["GUILDS", "GUILD_MESSAGES"]}); console.log(`Logged in as ${client.user.tag}!`) }) if (msg.content === "ping") { msg.reply("pong"); } }) client.login(process.env.DISCORD_TOKEN); npm install --save chúng tôi dotenv

5. Up next, you should create a chúng tôi file using the command “npm init -y”.

6. You can finally use the command “node bot.js” to run your Discord bot.

7. As you can see below, the bot works as intended and has replied to my test message.

Create and Host Discord Bot in the Cloud

If you would rather host your Discord bot online, we recommend using Replit. For those who don’t know, Replit is an online IDE, where you can run and host over 50 programming languages. In addition, the process to set up Replit is fairly straightforward too. So let’s get right into it.

5. Paste the following code and press the green “Run” button at the top to run the project. You can now use your bot even after shutting down your PC.

const mySecret = process.env[`TOKEN`] const Discord = require("discord.js"); const client = new Discord.Client({intents: ["GUILDS", "GUILD_MESSAGES"]}); console.log(`Logged in as ${client.user.tag}!`) }) if (msg.content === "ping") { msg.reply("pong"); } }) client.login(process.env.TOKEN); Frequently Asked Questions

Q: Can I create a Discord bot for free?

Yes, you can create a Discord bot for free and host it locally on your PC or in the cloud.

Q: How to make a Discord bot without coding?

If you have to create a Discord bot without coding, you will have to look for sample Discord bot projects others have done and modify the bot based on your needs. If that proves to be a hassle, you can always use one of the available best Discord bots to improve your server’s capabilities.

The developer of the popular Discord Python library “” is not happy with Discord’s mandatory transition to slash commands for verified bots from April 2023 and has decided to deprecate the library. The library is no longer under development, and the GitHub page of chúng tôi is now in read-only mode. While unverified bots are not affected at the moment, that could potentially change in the future.

Create Your Own Discord Bot

So, that’s how you can create a bot on Discord. While we have shown a simple bot that responds to a text, the possibilities of customizing a bot’s capabilities are endless. If you want inspiration or ideas for your new Discord bot, go through our article on the best Discord bots and try implementing the features you like the most.

You're reading How To Make A Discord Bot

How To Cancel Discord Nitro

When you buy Discord Nitro, your subscription will be automatically renewed.

This is depending on the plan that you’ve chosen.

If you’ve chosen the monthly plan, you’ll be charged $9.99 every month.

On the other hand, if you’ve chosen the yearly plan, you’ll be charged $99.99 every year.

To not get charged, you need to cancel Nitro.

In addition, you can remove your credit card from your billing settings.

Back in June 2023, Epic Games offered 3 months of Discord Nitro for free.

However, you need to use a credit card to get the offer.

If it’s been close to 3 months, you need to cancel Nitro.

Otherwise, you’ll be automatically charged after the offer has ended.

In this guide, you’ll learn how to cancel Discord Nitro and how to remove your credit card from Discord.

How to cancel Discord Nitro

To cancel Discord Nitro, you need to go to your user settings and navigate to “Subscriptions”.

Discord will then inform you of when you’ll lose access to Nitro.

There’ll be a message that says, “Cancellation will take effect at the end of your current billing period”.

This means that you’ll only lose access to Nitro when your billing period has ended.

In other words, you’ll still have access to Nitro and its features until it expires.

Here’s how you can cancel Discord Nitro:

1. Go to your user settings

To begin with, you need to open Discord on a desktop.

Do not open the Discord mobile app as you won’t be able to manage your subscriptions there.

Next, open Discord and log in to your account.

On Discord, you’ll see your profile picture at the bottom of the left sidebar.

Next to your profile picture, you’ll see three icons including a microphone, headphones, and a gear icon.

On the left sidebar, you’ll see multiple options.

This includes “My Account”, “User Profile”, “Privacy & Safety”, and more.

Under the “Billing Settings” header, you’ll see the “Subscriptions” option.

Under the “Your Subscription” header, you’ll see your current Nitro subscription.

The pop-up tells you when you’ll lose access to Nitro.

When you cancel Nitro, it’ll only take effect at the end of your current billing period.

This means that you’ll still have Nitro and its features until it expires.

The expiration date of Nitro will be shown on the pop-up.

On the confirmation page, you’ll see the date on which you’ll lose access to Nitro.

Before that date, you’ll still have access to Nitro, so don’t worry about losing it.

Now, you won’t be automatically charged in the month.

You’ve successfully canceled Discord Nitro!

How to remove credit card from Discord

To remove your credit card from Discord, you need to go to your user settings and navigate to “Billing”.

Keep in mind that you can only manage your billing on the desktop version of Discord.

As of June 2023, Discord does not support billing on its mobile app.

After you’ve removed your credit card from Discord, you will not be automatically charged in the next month for Nitro.

Here’s how to remove your credit card from Discord:

1. Go to your user settings

Firstly, open the desktop version of Discord.

Once you’ve downloaded Discord, open it and log in to your account.

Then, you need to go to your user settings.

On the left sidebar, you’ll see multiple headers.

This includes “User Settings”, “Billing Settings”, “App Settings”, and “Activity Settings”.

Under “Billing Settings”, you’ll see a “Billing” option.

On your billing settings, you’ll see all of your payment methods.

At the bottom of your credit card information, you’ll see a “Delete Payment Method” button.

Keep in mind that you can only do this if you’ve canceled Nitro.

If you still have Nitro, you need to cancel it first before you can remove your credit card.

You’ve successfully removed your credit card from Discord!


If you’ve claimed a free Discord Nitro offer, you may need to enter your credit card information.

Otherwise, you won’t be able to claim the offer.

However, you need to remember to cancel Discord Nitro just before it expires.

Otherwise, you’ll be automatically charged for the next month.

But don’t worry, if you cancel Nitro, you’ll still have its features until it expires.

For example, if you’ve bought Nitro on Jan 1, you won’t lose access to it until Jan 31 even if you’ve canceled it before that.

Further reading

How to Change Your Discord Tag Without Nitro

How to Get a Discord Moderator Badge

150+ Cool, Funny, And Cute Discord Names

How To Fix Discord “No Route” Error!

Discord is solely designed for facilitating communication and coordination between gaming enthusiasts over private servers via voice, video, and text.

It has been reported that many discord users were prevented from joining voice channels by a “No Route” error.

If you are trying to bring back the voice channels into action, you need to tweak a few options in your system.

Follow this detailed guide to resolve the discord “no route” error.

The third-party firewall or anti-virus is blacklisting Discord.

The computer is using a VPN without UDP.

Discord is blocked by the network admin.

The IP address assigned to the PC was changed.

The server’s voice recognition is incompatible with your client.

QoS or Quality of service in networking doesn’t work with your network.

Follow these below-mentioned fixes and try chatting with your friends as soon as possible.

The first and easiest thing you can do is reboot your router or modem.

A reboot can fix the IP problem if there is any.

Restarting the router can quickly be done by following these steps:

First, on the Settings page of your router, select Maintenance.

If your Discord desktop application is having trouble connecting to the Discord servers, then the simplest way is to restart the application.

After reopening the app, try to join a voice channel and check whether the error persists.

If this doesn’t fix the issue, then go to the next solution.

It is also possible that the DNS cache is not allowing your Discord to connect to a voice server.

So, deleting DNS Cache can fix this issue, and you will not lose anything since the computer will rebuild the cache as you browse the websites.

Here is how it can be done:

Open the Command Prompt using the Search menu.

Next, on the elevated Command Prompt window type the following commands and press Enter.


Finally, you need to close the Command Prompt window after the DNS Cache is cleared.

If you are using a VPN connection that is not configured to use UDP (User Datagram Protocol), then it can also cause the “no route” error.

So, make sure you check the UDP from the service provider’s website if you are using a VPN connection.

There is also another alternative way where you can disconnect from the VPN and connect directly to Discord and check if VPN is the culprit.

The third-party anti-virus software on your system can prevent Discord from maintaining outgoing connections.

Uninstalling the anti-virus software completely can help resolve this issue.

Follow the steps and disable the third-party Anti-virus:

In the next step, scroll down and find the anti-virus software which is installed on your PC.

Now, follow the onscreen instructions and uninstall the anti-virus from your PC and check whether the issue is resolved.

Closing the Discord app once and then restarting the Android device at times removes minor glitches.

After restarting your device sign in to Discord and try to connect it to the voice channel again.

If your system is configured to use DHCP then you need to change this.

Try manually renewing your IP Address on a Windows machine, and this is how you can do it:

Type cmd in the Search bar and open Command Prompt.

Type the following command in the elevated Command Prompt “ipconfig/release.”

The above command will release the IP Address which was assigned by the DHCP Server. Now type ipconfig/release and press Enter.

Now, you will need a new IP Address to assign a new IP Address using this command “ipconfig/renew”.

If you are using a router or modem, then first make sure that it is connected properly.

Next, check the speed of your internet connection.

It is essential to check both connections before you test Discord.

This error mostly occurs when the server has a different voice region from the server settings.

In this case, the admin of the server needs to set a different voice region from the server settings.

15 Best Discord Bots To Improve Your Discord Server

There’s much to like about Discord, the go-to chat server for communities. It’s free to use and manage, has VOIP support, and thanks to support for bots, it’s pretty customizable too.

Do note that if you’re looking for music-based bots, that in recent times many of the most popular ones – like Groovy and Rythm – have been getting shut down due to cease-and-desists from Google (they relied on YouTube videos to play music through Discord). Don’t be too surprised to see other music bots go the same way in the near future.

With that in mind, here are the best Discord bots you should consider using.

Note: before reading this list, you may want to learn how to add a bot to your Discord server.

1. Skyra

A robust multi-purpose bot that’s a great all-in-one for servers

Skyra asks the pertinent question in its description: “Why have 10 bots that do one thing, when you can have 1 bot that does 10 things.” Good thinking Skyra, good thinking.

This bot has tons of features including levels, music, memes, economy, a bunch of moderation actions and even a few simple games like Connect-4, Tic-Tac-Toe and, errr, Hunger Games. You also earn points by simply engaging in the social stuff, which you can then spend on profile banners or on-server gambling!

2. Arcane

Level-up bot with a better free version than the more famous MEE6

When it comes to levelling bots – that is, bots with various systems for “levelling up” and rewarding members of a given server – MEE6 is probably the most famous, but as non-premium versions go Arcane probably is the better option.

It’s highly configurable, letting moderators manage levelling, xp options, rewards and everything else from a convenient dashboard. It also features reaction roles and powerful moderation options.

There’s a good reason arcane is fast staking its claim as the best levelling bot out there.

3. Mudae

Anime fans will immediately fall for this addictive anime-based bot

Not everyone loves anime, but if you do you probably really love it. Mudae is for the anime-obsessed, the manga-maniacal. It’s a fun concept, as you collect famous anime and manga character from comics, movies and TV shows, then “marry” them.

You build up a harem of waifu and husbando anime characters, competing with the millions of other players doing the same thing. You can trade characters, build your relationships with them, and even catch Pokemon in a little side-game.

Utterly strange to outsiders, utterly compelling to fans.

4. Dank Memer

Immerse yourself in the world of memes.

You can’t fully immerse yourself in the world of Discord communities without embracing the world of memes. Dank Memer collects the most popular memes from Reddit every day so that you can shower your server with whatever is hot on the internet rather than making outdated “arrow to the knee” jokes.

It’s not just about the memes, as there’s a whole currency that this bot brings with it – a trading system that lets you rob banks, steal virtual money from other players – but be careful, because there are police officers out there to halt you!

Add to that pets, gambling and an assortment of unique items, and you have a fun crime-based Discord bot that should help increase engagement with your server.

5. Confessions

Let server members submit anonymous confessions and secrets.

Now this is an interesting – and slightly scary – concept. Confessions is a Discord bot that allows members of your server to anonymously submit confessions about whatever they like! Secret crushes on other people on the server, embarrassing childhood stories, murder confessions – you name it.

Confessions is also a fun way to play a kind detective game: users can make a confession, and other server members can try to figure out who it was. Note that if the channel mods get the “Premium” version of Confessions, then they will have a log of the people who submit confessions, so don’t reveal too much information.

6. Pollmaster

Run all kinds of polls – multiple-choice, emoji voting, anonymous voting – on your Discord server.

Everyone likes a poll. Whether it’s getting your guild in an MMO to pick a raid location or simply asking people about their favorite type of pizza topping, it’s a great way to see which direction a given Discord server is swinging in a subject.

Pollmaster takes a little setting up, but once you do, it’s the most comprehensive polling bot out there for DIscord. There are all kinds of functions, like anonymous voting, emoji/reaction voting, multiple-choice polls or polls that let you make more than one choice.

You can set deadlines for your polls and even assign different “weights” to peoples’ answers depending on their role on the server. Higher-ranking folks get more votes, for example.


Engage server members and gamify your Discord server by turning it into an old-school RPG experience.

EPIC RPG is purely for the fun factor, allowing members of the channel to participate in a neverending RPG, complete with its own economy, dungeons, shops and even PvP combat!

Of course, Discord channels are based around communities anyway, but adding a text-based game to it is a great way to encourage bonding, as users share their levels, their loot, their rankings in the leaderboards and so on. It’s also a pretty compelling game in itself, with plenty of RNG events and battles making things nice, and unpredictable, with new stories being created for players to share.

It’s a deep little game and a great addition to game-related Discord channels.

8. Rythm (Shut Down)

Quite possibly the best music-focused Discord bot out there has recently shut down after five years. This was to comply with a YouTube cease-and-desist, presumably relating to the fact that the bot linked to YouTube and allowed its nearly 600 million users to play music from YouTube videos in Discord.

So that’ll come as sad news to many. The developers have, however, announced that they have a new music-based project in the pipeline that’ll again revolutionize how we listen to music online. If you want to stay tuned, subscribe to Rythm’s newsletter to see what’s next.


One of the best moderation bots that’s also capable of serving up cat facts.

If you’re looking for a bot that does a whole bunch of things to a high standard, then YAGPDB (Yet Another General Purpose Discord Bot) is a great option.

It has a bunch of self-assignable roles for moderation, letting you assign roles via reactions, assign multiple roles at once, or add roles to specific groups within your channel. It has a great auto-moderation setup for rules, letting you set them up and auto-kick, auto-warn and even time-ban violators.

Rounding out the features are various cleaning parameters, fast feeds from Reddit and YouTube, and cat facts. Yes, with a single command, you can get treated to one of 250 unique facts about cats for your channel. So there’s that.

10. Carl Bot

One of the most useful shortcut features in Discord is reaction roles, which let you type commands and even emojis into Discord to give yourself permission to make various changes to the server – like changing embed colors, prefixes to your servers, and so on. Carl Bot has a whopping 250 roles for you to play with, among many other features.

Carl Bot is brimming with automod functions that make it one of the best moderation bots out there, and it lets you log name changes among people on your server, so you can make sure no one’s up to mischief. There are tons more features here. (Auto-feeds and DMs on name mention are just a few.)

11. MEE6

Server moderation for serious admins, with strike systems, leveling and more.

There’s a reason MEE6 is one of the best Discord bots currently available. It comes with extensive features and support. You can also upgrade to a “premium” subscription package for even more features.

Many Discord bots are designed for server moderation, and MEE6 doesn’t disappoint. You can set up automated mod rules to cover problems like server spam. MEE6 admins can also configure a “strike” system to automate punishments if users regularly break the rules.

The bot is customizable, so you’re able to create your own commands for users as well as personalized welcome messages. If you want users to be able to set their own roles, you can set up your own commands for this.

There’s also a leveling system for users. Regular users can “level up” with higher ranks based on their server activity. You can set your own rewards, such as extra room access or new roles.

If you already know how to add Discord bots to your server, you won’t find it hard to hit the ground running with MEE6. Just invite the bot to your server to get started.

12. RED

Moderation, trivia bots, music playback and more in one big package.

If you want a bot you can truly customize, RED should be on your radar. It’s self-hosted, so you’ll need your own server to host it.

RED’s modular approach means no two servers running RED are equal, but there are some core features. Like MEE6, moderation is a central feature, with commands to kick or ban as well as filter messages.

There are also trivia bots and casino games, music playback, GIF searching, auto-server messages and more. Like MEE6, you can also customize bot commands. You can even customize the name and avatar of your bot to match the individual style of your server.

If there isn’t a feature you’re looking for, you can extend RED with python-coded plugins (or “cogs”). You can search for community-created plugins on the RED website.

13. Dyno

Moderation tool that’s managed through an accessible online dashboard.

Another polished Discord bot worth considering is Dyno, used on over 1.6 million Discord servers. One of its biggest benefits is its extensive web dashboard, giving you full control over customization.

You don’t need to self-host, as everything is hosted by Dyno, controlled via the web dashboard. Moderation tools are extensive, with customized triggers for automatic moderation.

Dyno makes role creation easy, allowing server admins to create new ranks (linked to server roles). You can also do server channel tuneups with “purging” commands that mass-delete messages based on user, server, or age.

It’s not just about moderation, though. You can set up a bot DJ with individual playlists, play slot games, search for random facts, and even search for random pics.

14. Tatsumaki

Playful bot designed to increase member engagement with facts, memes and other commands.

This Discord bot covers all the bases, with features designed to improve moderation and increase server usage, as well as give your users fun commands to play with.

Tatsumaki’s moderation features require no configuration. They’re ready to use, with commands to control users (ban, mute, etc.), prune messages, configure welcome messages, and more.

You can also search YouTube, look for cat facts, and play a number of assorted games, as well as run server-wide polls. There’s an extensive leveling system with XP available for users based on their activity.

15. Pancake

Moderation, music playback and hundreds of commands for members and admins.

Over 300,000 servers use Pancake on their Discord server and for good reason. It’s simple to use, with a healthy balance between fun commands for users and extensive moderation for admins. It’s another invite-to-get-started bot, so you don’t need to worry about server hosting.

A customizable moderation system lets you control everything from voice chat to user banning, with a permissions system to set up your moderating teams with different powers.

There’s an easy-to-use music playback system with support from multiple sources, including SoundCloud and YouTube. Social features – like games, image searches, and joke commands – also help to make your server a little more vibrant.

With hundreds of commands available, there’s something for everyone on a Pancake Discord server.

If you want more Discord-related guides, check out how to use Discord’s “Go Live” feature and connect Spotify to your Discord account.

Robert Zak

Content Manager at Make Tech Easier. Enjoys Android, Windows, and tinkering with retro console emulation to breaking point.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

How To Make A Girl’S Simple Dress (With Pictures)

Try using a solid-colored tank top and a pillowcase with a pattern on it. This will be the most pleasing to the eye. Patterns on both the tank top and the pillowcase may clash or make the dress appear too busy.

You can also use a fitted t-shirt as well, just make sure that it is not too tight on your child.


Make a mark on the tank top where you want the skirt to begin. If you need to, you can put the shirt on the child first; it may help you decide where you want the skirt part to begin. You can have the skirt begin a few inches below the arm hole or even at the waist. The choice is up to you. The tank top will become the bodice part of the dress.


Cut straight across the tank top, ½ inch (1.27 centimeter) below the mark you made. Try to cut through both layers at the same time. This will make it more even. Set the tank top aside.


Cut the top seam off of the pillowcase so that you have an opening at both ends. You will be sewing the pillowcase onto the tank top to make the skirt, so make sure to include add ½ inch (1.27 centimeter) to the total length.

How much you cut off of the pillowcase will depend on how tall your child is, or how long you want the skirt to be. For a tall child or a long skirt, cut less off. For a small child or a shorter skirt, cut more off.


Sew two straight rows around the top edge of the pillowcase. The first row should be ¼ inch (0.64 centimeters) away from the cut edge. The second row should be ½ inch (1.27 centimeters) away from the edge.[7]

Try to use the longest possible stitch on your sewing machine, and a lower tension.

Using two rows of stitches helps make the gathering easier. It will also make things more even.


Turn the pillowcase inside out and tuck the tank top inside. Do not turn the tanktop inside out. The right sides of both the pillowcase and the tank top should be touching.


Align the tank top with the pillowcase. The cut edges of the tank top should be aligned with the cut edges of the pillowcase. The pillowcase will likely be much wider than the tank top. This is normal; you will be gathering the pillowcase later. Just make sure that the side seam of the pillowcase is touching the back of the tank top.[8]



Pin the pillowcase to the tank top. This will help keep everything in place when you go to sew. Keep the pins a few inches apart, and pin all the way around the waistline of the dress. Be sure that the cut edge of the tank top and the pillowcase are matching up, or the skirt will be uneven.



Finish off the waist seam. You can use a serger to finish off the hem. You can also use a zigzag stitch.


Turn the dress inside out. At this point, your child can wear the dress, but you can also topstitch the waist hem down. To do this, pin the waist hem against the tank top. Next, topstitch it down; try to get as close as possible to the seam line.



How To Make A Bat File In Three Simple Steps

Do you find yourself opening the same programs every time you start your computer? Are you always opening the command prompt to run the same commands all the time? Learning how to make a BAT file can save you a lot of time by automating those actions.

A BAT file is a special text file format with a .bat extension that runs a series of Command Prompt commands in a sequence that you specify. You can make a BAT file that automates anything you might do inside a command prompt. 

Table of Contents

What can you do with a BAT file?

Modify system settings

Automate launching websites

Start multiple apps on a schedule

Automate system backups

Make A BAT File In Three Steps

Creating a BAT file in Windows 10 is very simple. All you need is Notepad. You just need to create a text based file with the BAT commands formatted correctly. Then save the file with a .bat extension and then run it.

In this section, you’ll learn how to create an automated BAT file that launches Chrome to your favorite News web page, clears your Windows 10 cache to boost system performance, and pulls the latest weather forecast from the web.

Step 1: Create A Simple Startup Batch File

To make a BAT file in Windows 10, just select the Start menu, type Notepad, and select the Notepad app to open it. Inside of Notepad, you’ll need to type the following script. You can copy and paste from there into Notepad.

Save the file somewhere on your PC that is easy to find. Many people save their BAT files in C:temp or some simple folder located at the root C: drive level.

It’s important to change the Save as type drop-down to All files. Then, make sure to add “.bat” at the end of the file name.

This will save the text-formatted file as batch file format. 

The Google News web page will open using your system’s default browser.

All files in the Windows temporary folder will be deleted.

The command prompt will display the weather forecast for the next 24 hours.

You’ve just created your first working BAT file that automates three useful tasks in a row!

However, you’re not done. You need to tailor some of these commands for your own situation. Let’s take a look at what each of these commands does and how you can tweak them to suit your needs.

Step 2: Customize Your BAT File

Now that you know how to make a BAT file with multiple commands, you’ll need to customize each of those commands for your needs.

The following is a more detailed explanation of each of those commands and how you can customize them.

Start Command

The start command will launch any application you specify. If you use a URL link like this command, it’ll use your default browser to launch that web page. The following command will launch Google News in your default browser.

You can change the URL to have the command open any web page you like.

DEL Command

The DEL command is a very simple one that deletes one or more files in a given directory. There are a variety of parameters you can use to tell the command how to behave.


There are a variety of parameters you can use to tell the command how to behave.

/F – Includes the deletion of read-only files

/S – Removes files in subdirectories as well as the current directory

/Q – Requires “quiet” mode which doesn’t require any delete confirmation

In this example, %TEMP% is used to specify the directory. This is the system environment variable for the Windows Temporary Files directory. 

If you want, you can specify any other directory. Or, you can list multiple DEL commands and delete files from multiple directories.

Finger Command

The Finger command uses your computer’s internet connection to reach out to any remote computer that’s running the finger service.

These aren’t easy to find, but there is one particularly special service running at chúng tôi that lets you look up a 24 hour weather forecast using a simple “finger” command.

finger [email protected]

With this command, you just need to place the name of the largest nearby city before the part of the web address.

The command returns a graph of temperature and sunshine level symbols for the next 24 hours.

Pause Command

The Pause command will pause execution of your BAT file so that you can see any information that was returned by the various commands.  This is especially useful after using the Finger command, so you can view the graph.

If you’re using other commands and don’t need to see any returned information, you can remove the Pause command from the end of the script.

In fact, if you don’t need to see anything from the script at all, you can add @ECHO OFF as the first line of the BAT file and you won’t see anything returned from the commands at all.

Step 3: Schedule Your Batch Job

It would be much easier to let the batch job run automatically every day. You can do this by launching the BAT file as a Windows scheduled task.

To do this, select the Start menu, type Scheduler, and select Task Scheduler.

This will open the Task Scheduler. Select Task Scheduler Library from the left pane to see all scheduled tasks on your system. 

You can add a new scheduled task to launch your new BAT file. To do this:

Select Create Task from the Actions panel on the right.

In the Create Task window, on the General tab, give the task a name in the Name field. Leave all other default settings.

Select the Triggers tab. Select the New button. In the New Trigger window, select Daily and leave all other default settings. Select OK and select OK on the Create Task window.  

Select the Actions tab, then select New. In the New Action window, select Browse and browse to where you saved your BAT file. Select OK to finish. Select OK on the Create Task window.

Now you should see your scheduled BAT file in the Task Scheduler Library.

Your new scheduled BAT file will now run every day at the same time. 

Customizing Your BAT File

Now that you know how to create and schedule your BAT file, you can start expanding on that file by learning about other BAT file commands you can add to the file. 

Update the detailed information about How To Make A Discord Bot on the website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!