Skip to content
Sign UpLog In
Profile icon

Speedrace

@Speedrace
Repls
Community
Speedrace
Speedrace
shared a Post
4 years ago
Always On
I'm trying to keep my bot on forever by using Uptime Robot so it works even when not on my computer. However, it doesn't seem to work. Why is that?
a5rocks
a5rocks
In addition to the other answers, repl has its servers restart sometimes, and then your repl is offline.4 years ago
Speedrace
Speedrace
shared a Post
4 years ago
How do I keep each of my variables the same even when I refresh the bot to edit the code? It keeps resetting
Vandesm14
Vandesm14
You could also use a file DB4 years ago
JackFly26
JackFly26
I would look into using an external database.4 years ago
Speedrace
Speedrace
shared a Post
4 years ago
I've been using node-schedule to try to schedule a message to send at a certain time. However, the only thing that works is seconds (if I put rule.sec
a5rocks
a5rocks
https://repl.it/@a5rocks/node-schedule-test Should work (though this is only a guess based on the docs :p )4 years ago
Speedrace
Speedrace
shared a Post
4 years ago
How do I do a cronjob for a Discord Bot? I want it to do a certain action at 9:30 and 4:30, but I can't seem to find the proper documentation for impl
a5rocks
a5rocks
https://repl.it/talk/announcements/Running-cron-jobs-with-replit/11345 might help4 years ago
Speedrace
Speedrace
shared a Post
4 years ago
So how do I analyze what discord messages actually contain? How do I set a parameter to respond only to messages that start with c! ?
noah427
noah427
in python : if message.content.startswith(“c!”): 4 years ago