follow this guide to get a token and setup a bot account: https://www.writebots.com/discord-bot-token/
Then insert your token at the top of the file.
Make sure you have discord.py installed:
pip install discord
Then just run the bot using python:
python bot.py