Discord Bot Tutorial Python Nextcord | Sending a Message at a Specific Time | Part 3

preview_player
Показать описание
Hello! Welcome to the nextcord python discord bot series. In this video, we'll be learning how to send scheduled messages on discord. In other words, we'll be making our bot send messages at some specific time everyday. This code could also be modified to send reminders. Hope you enjoy and learn something new! Make sure you subscribe so you don't miss out on new videos :)

Installations:

Resources:
Рекомендации по теме
Комментарии
Автор

Be sure to check out the next video in the series (part 4)!

Here's the link to the playlist for the entire discord bot series:


In part 4, I go over how we can make our bot schedule messages *based on user input* .

**Note:** As some of you may have noticed, part 3's code for scheduling a message is not completely perfect. For example, in certain cases, the daily message code starts executing a day later. I fix this issue in part 4, so be sure to check that out if you want your bot to start sending daily messages from the very next day rather than from the day after.

Dannycademy
Автор

Thank you for your tutorial hehehe. Now I can make my bot send birthday wishes to my friends exactly 12am!! Thanks again!

gripsquid
Автор

thank you so much for your straight forward tutorials

ChakuSpikyFN
Автор

Hello, what if the bot is being used in multiple servers where you do not know the channel id ?? thx

scottbuds
Автор

The next problem that I have is trying to figure out how to send large messages that exceed the character limit. Ive tried to loop it but it only allows you to send 1 message per interaction so the loop wont work.

scottbuds
Автор

thanks for the video, i have only one problem. when i run the code it will send no messages until the timer, so that works. but after that he woudnt stop sending messages

RickGrGamen
Автор

what am I missing? surely calling the function in on_ready will just mean it will only ever be called once and never be called again until the bot restarts?

HeyItsWez
Автор

Can you make a video on how to send a dm message to a specific user at a specific time on discord?

Jakefromstatefarm
Автор

I tried using asyncio.sleep() but it still blocks/pauses every other command just like time.sleep(). Any idea why? Thanks.

kuro
Автор

👋Is that possible to schedule a message send by me (not a bot) every week in a server (which is not mine) ? Ty in advance !

Tibiscuit_OW
Автор

Is there a way to quit the bot, I'd like to run the discord bot within a while loop in python, so that I can recurrently send a different messages in a time period

xsuperman
Автор

Does it only work when a user types a command? Because you have defined bot as commands.Bot(

vikraal
Автор

Good tutorial! Do I uncomment the bit at the end?

moth
Автор

Can you help me ? It doesn't work with me

Lazy_
Автор

can you make a tutorial where you show how to get user input from the commands?

ayrnn_
Автор

Hi Danny! Thx for your Videos.

At first where can i find your discord? 😁😁
At second, how can i bring this as a function into my main.py?

Thx Bro

rbfx
Автор

the bot keeps spamming the message and isn't stopping

ishaan
Автор

When I put my code in the while True loop it kept sending the message

frozenemerald
Автор

Does anyone have a idea on why import requests not work for me

coolskull
Автор

How do I put 3 different times with 3 different messages?

dialecticop