

Notify you in Discord when a website changes:
Discord bot website monitor free#
I won't work on this project anymore so feel free to fork this project and create your own version based on this (and feel free to submit pull requests).

Listening: Įrror : An invalid token was provided.Īt Client.login (/home/runner/ReminderBot/node_modules/discord.js/src/client/Client.js:206:52)Īt /home/runner/ReminderBot/index.js:24:8Īt Module._compile (internal/modules/cjs/loader.js:999:30)Īt Object.Module._extensions.js (internal/modules/cjs/loader.js:1027:10)Īt Module.load (internal/modules/cjs/loader.js:863:32)Īt Function.Module._load (internal/modules/cjs/loader.js:708:14)Īt Function.executeUserEntryPoint as runMainĪt internal/main/run_main_module.A Discord bot that alerts you when (part of) a website changes.ĭiscord changed the way bots work, and this bot is not working anymore because of that. ListenerCount: ,ĭefaultConfiguration: ,Ĭonnection: , But for 99% of the day it'll be online thanks to Uptime Robot. We're going to use Uptime Robot to keep our bot online.Ī) Copy the url for your repl's webserver.ī) Create an account on Uptime Robot and create a monitor to ping your server every 5 minutes However, if you make changes to your server, you will need to restart the repl in order to see those changes reflected in the live version. Sleeping repls will be woken up as soon as it receives another request there is no need to re-run the repl. The server will stay awake and active until an hour after its last request, after which it will enter a sleeping stage. Once deployed, the server will continue to run in the background, even after you close the browser tab. Here's a note from their docs about that: Your bot should be online!Ĭongrats! You can peruse the discord.js documentation to implement all the cool bot features you can dream of!Īs I mentioned before puts repls to sleep. Now that the proper credentials are in, you can click restart now. This will help us hide your token from the rest of the world.
Discord bot website monitor install#
Paste the following code in your repl and will automatically install packages for you and start an express webserver.Įnter fullscreen mode Exit fullscreen mode Then Repl will keep it alive for an hour even if you close the tab. will kill a running repl when you close the browser tab unless it's serving web content. We call these repls.ī) First thing we need to make sure a webserver is running in our repl. It's pretty amazing and has constantly been adding features to help you do more online. If you haven't heard of it is an online IDE of sorts that lets you create and share small projects. Make sure to invite it to your server using that URL! At the very least it needs permission to send messages.
:max_bytes(150000):strip_icc()/004-how-to-make-a-discord-bot-88418a3213b14cab84e5b2154730df26.jpg)
This determines what your bot has permission to do. Then add a bot user to that application:ī) Next save your bot's token for later use:Ĭ) The last thing we need from this portal is your bot's invite URL. We'll be using to host our bot and it's a pain to install ffmpeg on it.Ī) Sign into your discord account on and create a new application here. Turn back now if you need a bot with voice capabilities. You're a cheapo like me and want to run a discord bot or a hundred discord bots for FREE!.You know how package managers work for whatever programming language you'll try this with.I used JavaScript for this example but this concept can be applied to Ruby, Python, Java, etc. You have the coolest discord bot idea and you're able to code rock paper scissors in some programming language.You have no access to a credit card and want to host your projects somewhere your friends (and potential employers) can access them 24/7.If you're a programmer of some sorts (hobby, college student, or tired professional) you've probably thought "I could make this better! 🤓". If you're an avid discord user you've definitely seen a bot (or 10) in the server(s) you're a part of.
