How to Make a Random Number Generator Discord (Discord.py Rewrite) Bot in Python with Embeds 2020
Discord Developer Portal: https://discord.com/developers/applications
Python 3.8.3 Installation Link: https://www.python.org/downloads/release/python-383/
Discord Permissions Calculator: https://discordapi.com/permissions.html
GitHub repository for code: https://github.com/krishnadas49540/Random-Number-Generator-For-Discord.py
Twitter: https://www.twitter.com/krishnadasmath
My Discord Server: https://discord.gg/gKgr6nJ
This video would show you how to make a random number generator in Discord.py rewrite in Python with Embeds 2020.
Music: Rubix Cube by Audionautix is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Artist: http://audionautix.com/
TIMESTAMPS:
00:00 Location of Time Stamps in the Description
00:10 Setting up Discord Bot Account
00:49 Installing Python
01:30 Installing discord.py Using pip
01:52 Setting up Python File
02:11 Importing Modules
02:26 Explanation About Importing Modules
02:43 Importing Discord's Commands Module
02:54 Explanation About Importing Discord's Command Module
03:07 Declaring Bot Prefix
03:13 Explanation About Bot Prefix
03:47 Initializing Bot and Declaring Prefix and Creating Abstraction
04:01 Explanation about Initializing Bot and Declaring Prefix and Creating Abstraction
04:21 Declaring Bot Token Using Variable
04:31 Explanation About Bot Token Variable
04:38 Creating Function That Announces When Our Bot is Able to Authenticate With Discord
05:03 Explanation About the Function That Announces When Our Bot is Able to Authenticate With Discord
05:30 Creating ?randomnumber Command
06:21 Explanation About @bot.command(pass_context = True)
06:44 Explanation About Asynchronous Functions
07:25 Explanation About ctx
07:46 Explanation About Discord Embeds
08:14 Explanation About random.randint (Part of the Discord Embed Section)
08:25 Explanation About ctx.send(embed = embed)
08:58 Wrapping Things Up With bot.run(token)
09:08 Explanation About bot.run(token)
09:17 Creating Discord Bot Adding URL Using Discord Permissions Calculator
09:42 Starting Discord Bot
10:06 Running Discord Bot