Building a Discord Bot in Python (2024) Episode Six: Random Meme Command
Вставка
- Опубліковано 20 сер 2024
- Hey guys, today we make a random meme command for our Discord bot using the Reddit API wrapper for Python. Subscribe!
pip: `pip install asyncpraw`
Reddit Apps: / apps
MY DISCORD: / discord
MY GITHUB: github.com/Par...
MY WEBSITE: houseofcode.xyz...
Create your account today!
DONATE: paypal.me/Tame...
Music Credits:
Song 1:
Morning Routine by Ghostrifter bit.ly/ghostrif...
Creative Commons - Attribution-NoDerivs 3.0 Unported - CC BY-ND 3.0
Free Download: hypeddit.com/t...
Song 2:
On My Way by Ghostrifter bit.ly/ghostrif...
Creative Commons - Attribution-NoDerivs 3.0 Unported - CC BY-ND 3.0
Free Download: hypeddit.com/t...
Song 3:
Lost In Thought by Ghostrifter bit.ly/ghostrif...
Creative Commons - Attribution-NoDerivs 3.0 Unported - CC BY-ND 3.0
Free Download: hypeddit.com/p...
Song 4:
Hot Coffee by Ghostrifter bit.ly/ghostrif...
Creative Commons - Attribution-NoDerivs 3.0 Unported - CC BY-ND 3.0
Free Download: hypeddit.com/t...
Song 5:
Waiting by Ghostrifter bit.ly/ghostrif...
Creative Commons - Attribution-NoDerivs 3.0 Unported - CC BY-ND 3.0
Free Download: hypeddit.com/t...
Song 6:
Still Awake by Ghostrifter bit.ly/ghostrif...
Creative Commons - Attribution-NoDerivs 3.0 Unported - CC BY-ND 3.0
Free Download: hypeddit.com/t...
If a video is rather long, video sountracks may loop back to the very first song
Intro is made by somebody else on panzoid, only changed the music Tranquillity - ProdRiddiman)
Outro is made by me :)
Outro Music is "In A Cabin By The Lake" by Lazarus Moment!
Nice video, thanks! Btw you did a mistake in the title of the video, you wrote episode five instead of six.
Let’s gooo !
4:25
doesn't work for me :(
Cool vid, watched all episodes!
Could you maybe create a episode about creating like a roulette game?
just do
import random # no need to pip install
@commands.command(name=roulete)
async def hello(self, ctx):
await ctx.send(f"6 bullets, one will shoot, {ctx.author.mention}.")
bullet = random.Random(1, 2, 3, 4, 5, 6)
if bullet == 6:
await ctx.send("The gun shot. how unlucky")
else
await ctx.send("The gun didnt go off. nice")
Yippee!
It doesn't work for me. 😩
Join my discord server so someone can further assist you