#How do I get a discord bot to reply to a channel after a time limit?
1 messages · Page 1 of 1 (latest)
Like a reminder?
Yeah
When I keep trying to do it, it just wont send
maybe gives us some error / Code?
Can't find any
I did try testing with like a smaller cd of a item on a slash but wont do anything
You could use a tasks.loop which do a check every hour at the Database
I've got 4 different items within the menu of a slash, each with differen timers, like I have 1 for 30 minutes and another for 60 minutes but they're both different products. I just need a reminder saying that cooldown is finished when Ive set it
I tried using ai but it didnt work that well
To write the Code?
Yeah
But you also know basic python? We got many here which joined the Server and never wrote a single line of code and only used AI...
That is why I ask
No.. I only know C#
Can I send you my code in dms and maybe you can identify it better? I launched it on github to connect to my discord bot
You can send the code here or the github. That is why we got a help server here, to help people with there code ^^
oh, dont use Python 3.14, the library isnt really supporting it yet.
Everything works its just not doing the reminder thing.
How do I convert?
The AI told me to use that
well Just do the Same steps but use 3.13 instead
Ok
dont use AI when learning a new library, it does not help in the slightest if you just let it generate code
Have to agree with Toothy here, tried using AI for some parts of my bot. different models and with proper context ofc.
they mess things up a lot while appearing reasonable. some even keep making the same mistakes when you tell them not to do x.
So when you're newish to python and bots it'll be impossible to spot or debug. had to stop using them, cause they were driving me mad 
better use the pycord docs (they are pretty good) and don't hesitate to go for the help channel. there is always someone willing to set you back on track.
Here is a quick overview for the basics:
https://guide.pycord.dev/