According to researches by the adsmember team
जावास्क्रिप्ट / Node.js का उपयोग करके डिस्कॉर्ड बॉट को कोड करना सीखें और इसे Repl.it का उपयोग करके क्लाउड में मुफ्त में होस्ट करें। आप Repl.it के अंतर्निहित डेटाबेस का उपयोग करना भी सीखेंगे। 🚨 13:44 पर, रिप्लिट में अब पर्यावरण चर के लिए एक नई विधि है। यहां पढ़ें क्या करें:
Repl.it (पहले 1000 लोग) पर हैकर योजना के 3 महीने मुफ़्त प्राप्त करें:
इस पाठ्यक्रम को ब्यू कार्नेस द्वारा विकसित किया गया था। पायथन वीडियो के साथ एक डिस्कॉर्ड बॉट को कोड करें:
repl.it पर पूरा कोड: BeauCarnes/Encourage-Bot-JS ऑनलाइन कोड संपादक:
इस ट्यूटोरियल में मदद चाहिए? आप यहां प्रश्न पूछ सकते हैं:
️ पाठ्यक्रम सामग्री ️ ️ (00:00) परिचय ⌨️ (01:38) एक डिस्कॉर्ड सर्वर बनाना ️ (02:27) एक बॉट उपयोगकर्ता बनाना ️ (06:23) Repl.it में एक प्रोजेक्ट शुरू करना ⌨️ (08:37) बेसिक डिस्कॉर्ड बॉट की कोडिंग ️ (15:44) बॉट में सुधार ️ (26:35) बॉट सेटिंग्स को स्टोर करने के लिए रेप्ल.इट डेटाबेस का उपयोग करना ️ (46:08) बॉट का परीक्षण ️ (50:22) के लिए एक वेब सर्वर बनाना बॉट ️ (55:06) कनेक्टिंग अपटाइम रोबोट सो बॉट लगातार चलता है विशेष धन्यवाद Repl.it को अनुदान प्रदान करने के लिए जिसने इस पाठ्यक्रम को संभव बनाया। — मुफ्त में कोड करना सीखें और डेवलपर की नौकरी पाएं:
प्रोग्रामिंग पर सैकड़ों लेख पढ़ें:
और हर दिन प्रौद्योगिकी पर नए वीडियो के लिए सदस्यता लें:
source
At 13:44, Replit has a new method for .env. Read what to do here: https://docs.replit.com/programming-ide/storing-sensitive-information-environment-variables
Also, with Discord.js v13 there is more setup required. This quick video shows the new method: https://youtu.be/zGy2muWlE5A
the first line of code doesnt work at all
niccce
opened yt saw his face closed yt
it says "Python" at one point in the subtitles instead of Javascript
When I follow the instructions about require() method, I got the error returned "that the "require()" is no longer supported and i need to use "import()",but when I replce "require" with "import" nothing just happens. Please, help!!!
Database statements give errors. kindly help out
/home/runner/Encourage-discord-bot/node_modules/node-fetch/lib/index.js:1327
throw new TypeError('Only absolute URLs are supported');
^
TypeError: Only absolute URLs are supported
at getNodeRequestOptions (/home/runner/Encourage-discord-bot/node_modules/node-fetch/lib/index.js:1327:9)
at /home/runner/Encourage-discord-bot/node_modules/node-fetch/lib/index.js:1440:19
at new Promise (<anonymous>)
at fetch (/home/runner/Encourage-discord-bot/node_modules/node-fetch/lib/index.js:1437:9)
at Client.get (/home/runner/Encourage-discord-bot/node_modules/@replit/database/index.js:20:18)
at Object.<anonymous> (/home/runner/Encourage-discord-bot/index.js:25:4)
})
Just make a new update video
Is this possible with netlify, express and vscode?
Can someone help me please ? At the end after creating "server.js" I have this error message
Error: Cannot find module '/home/runner/DiscordBot/index.js'
Require stack:
– /nix/store/9ackq82lagfpsm625fa87k32fsf5gyk2-prybar-nodejs-0.0.0-74f34a6/prybar_assets/nodejs/module-context-hook.js
– /tmp/prybar-nodejs-2758203936.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.resolve (node:internal/modules/cjs/helpers:108:19)
what means "index" and what does it in minute 33:09 ?
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/Lovers-Botjs/node_modules/node-fetch/src/index.js from /home/runner/Lovers-Botjs/index.js not supported.
how can we do the database part on visual studio
That uptime robot trick was slick 🙂
15:52
hey I have a problem/
TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client.
at Client._validateOptions (/home/runner/FlamboyantEvergreenProfessional/node_modules/discord.js/src/client/Client.js:548:13)
at new Client (/home/runner/FlamboyantEvergreenProfessional/node_modules/discord.js/src/client/Client.js:76:10)
at Object.<anonymous> (/home/runner/FlamboyantEvergreenProfessional/index.js:2:16)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
What is the difference between msg.channel.send() and msg.reply() both functions will behave in the same way??
cool! it dosent work!
Sir you just told Phyton in 2:13 , Well its very good videos
how do you install the discord.js in the shell?
why is my bot offline all a sudden 24 hours in the running