Under Ctrl
Under Ctrl
  • 68
  • 1 348 505
A Guide to Discord Polls with Discord.js v14
A guide to polls with Discord.js version 14.15!
Discord: underctrl.io/discord
Patreon: patreon.com/UnderCtrl
Buy me a coffee (one-time donation): buymeacoffee.com/underctrl
Newsletter: underctrl.substack.com
Starter project: github.com/notunderctrl/commandkit-starter-project
Timestamps:
0:00 Introduction
0:16 Updating discord.js
0:51 Creating polls
8:33 Fetching and ending polls
11:00 View poll answers
11:59 New poll-related events
Thanks for watching!
zhlédnutí: 2 262

Video

I’m Never Making APIs Any Other Way (tRPC)
zhlĂ©dnutĂ­ 3,4KPƙed 6 měsĂ­ci
An overview of tRPC in a full-stack project. 🧠 Resources tRPC documentation: trpc.io GitHub repo: github.com/notunderctrl/trpc-overview 🌐 Important links The Code Room (newsletter): underctrl.io/newsletter Discord: discord.underctrl.io Github: github.com/notunderctrl Patreon: patreon.com/UnderCtrl Buy me a coffee (one-time donation): buymeacoffee.com/underctrl
Make a Discord.js Welcome System (Multi-Guilded) 🚀
zhlĂ©dnutĂ­ 5KPƙed 7 měsĂ­ci
Creating a Multi-Guilded Welcome System (Discord.js v14) 🚀 Starter files (if you don't already have a Discord.js project): github.com/notunderctrl/commandkit-starter-project simulate-join.js code: pastebin.com/urcudYNr MongoDB tutorial: czcams.com/video/edeNqzKvj0g/video.html Caching tutorial: czcams.com/video/vXycKhl0hu4/video.html CommandKit tutorial: czcams.com/video/hUKh0NS1Ypk/video.html S...
🌟 CommandKit for Beginners - Discord.js Command & Event Handler
zhlĂ©dnutĂ­ 6KPƙed 8 měsĂ­ci
🌟 CommandKit for Beginners - Discord.js Command & Event Handler 🧠 Resources CommandKit docs: commandkit.js.org Starter files: github.com/notunderctrl/djs-barebones 🌐 Important links Dev Notes (Weekly newsletter): devnotes.underctrl.io Discord: discord.underctrl.io Github: github.com/notunderctrl Patreon: patreon.com/UnderCtrl Buy me a coffee (one-time donation): buymeacoffee.com/underctrl ⏰ Tim...
🧠 Learn Discord Autocomplete in 18 minutes (Discord.js v14)
zhlĂ©dnutĂ­ 4,8KPƙed 8 měsĂ­ci
🧠 Learn Discord Autocomplete in 18 minutes (Discord.js v14) 🧠 Resources Starter files (CommandKit): github.com/notunderctrl/commandkit-starter-project Dummy data (pets.json): pastebin.com/kJNrnwcv Dummy data (owners.json): pastebin.com/ppme53B8 Source code (private): patreon.com/UnderCtrl 🌐 Important links Dev Notes (Weekly newsletter): devnotes.underctrl.io Discord: discord.underctrl.io Github...
How to Make a YouTube Notification Bot | Discord.js v14 🔔
zhlĂ©dnutĂ­ 6KPƙed 8 měsĂ­ci
How to Make a CZcams Notification Bot | Discord.js v14 🔔 🧠 Resources: Starter files: github.com/notunderctrl/commandkit-starter-project Full source code (private): patreon.com/UnderCtrl CZcams Channel mentioned: www.youtube.com/@RoelVandePaar MongoDB setup with Discord bot: czcams.com/video/edeNqzKvj0g/video.html 🌐 Important links Discord: underctrl.io/discord Github: github.com/notunderctrl Pa...
How to make your own NPM package (Step-by-Step) 📩
zhlĂ©dnutĂ­ 25KPƙed 9 měsĂ­ci
How to make your own NPM package (Step-by-Step) 📩 🧠 Resources tsconfig.json: pastebin.com/NT2Z7Kas tsup.config.ts: pastebin.com/m7bGKx0d 🌐 Important links Discord: ctrl.lol/discord Github: github.com/notunderctrl Patreon: patreon.com/UnderCtrl Buy me a coffee (one-time donation): buymeacoffee.com/underctrl 🕐 Timestamps 00:00 - Introduction 00:32 - Setting up npm account 00:49 - Authenticating t...
How to use TypeScript with your Discord Bot (and why)
zhlĂ©dnutĂ­ 11KPƙed 10 měsĂ­ci
How to use TypeScript with your Discord Bot (and why) Source code: github.com/notunderctrl/djs-ts-bot Discord server: ctrl.lol/discord Patreon: patreon.com/UnderCtrl Buy me a coffee (one-time donation): buymeacoffee.com/underctrl Thanks for watching!
Boost your Discord Bot Performance with Redis âšĄïž
zhlĂ©dnutĂ­ 6KPƙed 10 měsĂ­ci
Boost your Discord Bot Performance with Redis âšĄïž 🧠 Resources Redis download: redis.io/download Redis download guide for windows: redis.io/docs/getting-started/installation/install-redis-on-windows/ Redis remote cache: redis.com/redis-enterprise-cloud/pricing Upstash [redis] remote cache: upstash.com Example connection string for remote cache: "redis://username:authpassword@127.0.0.1:6380/4" Sou...
🚀 Create a Chat GPT Bot in Discord (with GPT-4)
zhlĂ©dnutĂ­ 48KPƙed 11 měsĂ­ci
🚀 Create a Chat GPT Bot in Discord (with GPT-4) Here’s how you can make a Chat GPT like Discord bot (with support for GPT-4) that works in multiple channels! 🧠 Resources Source code (private): patreon.com/UnderCtrl Node.js: nodejs.org Visual Studio Code: code.visualstudio.com Username regex: msg.author.username.replace(/\s /g, '_').replace(/[^\w\s]/gi, ''); 🌐 Important links Newsletter: devnote...
🧠 Learn Select Menus in 17 Minutes! (Discord.js v14)
zhlĂ©dnutĂ­ 16KPƙed 11 měsĂ­ci
🧠 Learn Select Menus in 17 Minutes! (Discord.js v14) 🌐 Important links Starter files: github.com/notunderctrl/commandkit-starter-project Dev Notes Newsletter: devnotes.underctrl.io Discord: discord.underctrl.io Patreon: patreon.com/UnderCtrl Buy me a coffee (one-time donation): buymeacoffee.com/underctrl 0:00 Introduction 0:20 String Select Menu 10:10 Role Select Menu 13:58 Channel Select Menu ...
💬 Discord Message Collectors | Discord.js v14
zhlĂ©dnutĂ­ 4,5KPƙed 11 měsĂ­ci
💬 Discord Message Collectors | Discord.js v14 🌐 Important links: - Starter files: github.com/notunderctrl/commandkit-starter-project - Source code (private): patreon.com/UnderCtrl - Discord: discord.underctrl.io Patreon: patreon.com/UnderCtrl Buy me a coffee (one-time donation): buymeacoffee.com/underctrl Thanks for watching 💜
🔎 How to Scrape the Web with Node.js (Puppeteer)
zhlĂ©dnutĂ­ 3,1KPƙed rokem
🔎 How to Scrape the Web with Node.js (Puppeteer)
Does Your Bot REALLY Need a Dashboard? đŸ€”
zhlĂ©dnutĂ­ 7KPƙed rokem
Does Your Bot REALLY Need a Dashboard? đŸ€”
🧠 Multi-Player Rock Paper Scissors Bot Tutorial (Discord.js)
zhlĂ©dnutĂ­ 7KPƙed rokem
🧠 Multi-Player Rock Paper Scissors Bot Tutorial (Discord.js)
🚀 Create an ADVANCED Suggestions System (Discord.js)
zhlĂ©dnutĂ­ 18KPƙed rokem
🚀 Create an ADVANCED Suggestions System (Discord.js)
Discord Button Collectors đŸ—‘ïž Discord.js v14
zhlĂ©dnutĂ­ 16KPƙed rokem
Discord Button Collectors đŸ—‘ïž Discord.js v14
Context Menu Commands Guide | Discord.js v14 đŸ€–
zhlĂ©dnutĂ­ 8KPƙed rokem
Context Menu Commands Guide | Discord.js v14 đŸ€–
Build a Responsive Personal Portfolio with HTML & CSS | Full Beginners Tutorial đŸ”„đŸš€
zhlĂ©dnutĂ­ 4,9KPƙed rokem
Build a Responsive Personal Portfolio with HTML & CSS | Full Beginners Tutorial đŸ”„đŸš€
Gamble Command | Economy Discord Bot đŸ€– (Discord.js v14)
zhlĂ©dnutĂ­ 3,4KPƙed rokem
Gamble Command | Economy Discord Bot đŸ€ (Discord.js v14)
Server Info Command 📋 Discord.js v14
zhlĂ©dnutĂ­ 3,8KPƙed rokem
Server Info Command 📋 Discord.js v14
Balance Command | Economy Discord Bot đŸ€– (Discord.js v14)
zhlĂ©dnutĂ­ 2,3KPƙed rokem
Balance Command | Economy Discord Bot đŸ€ (Discord.js v14)
Create Modals in Discord | Discord.js v14 🧠
zhlĂ©dnutĂ­ 14KPƙed rokem
Create Modals in Discord | Discord.js v14 🧠
Cooldowns + Beg Command | Economy Discord Bot đŸ€– (Discord.js v14)
zhlĂ©dnutĂ­ 2,9KPƙed rokem
Cooldowns Beg Command | Economy Discord Bot đŸ€ (Discord.js v14)
Connect to Database + Daily Command | Economy Discord Bot đŸ€– (Discord.js v14)
zhlĂ©dnutĂ­ 5KPƙed rokem
Connect to Database Daily Command | Economy Discord Bot đŸ€ (Discord.js v14)
Make an AI Image Generator Discord Bot like Midjourney đŸŽšđŸ€–
zhlĂ©dnutĂ­ 37KPƙed rokem
Make an AI Image Generator Discord Bot like Midjourney đŸŽšđŸ€–
How to make a Discord Bot đŸ€– | Economy Bot (Discord.js)
zhlĂ©dnutĂ­ 13KPƙed rokem
How to make a Discord Bot đŸ€ | Economy Bot (Discord.js)
Subcommand & Subcommand Groups (Discord.js + DJS-Commander)
zhlĂ©dnutĂ­ 7KPƙed rokem
Subcommand & Subcommand Groups (Discord.js DJS-Commander)
Nested Functions & Recursion | JavaScript for Beginners #16
zhlĂ©dnutĂ­ 761Pƙed rokem
Nested Functions & Recursion | JavaScript for Beginners #16
How to Host your Discord Bot 24/7 🕠
zhlĂ©dnutĂ­ 32KPƙed rokem
How to Host your Discord Bot 24/7 🕠

Komentáƙe

  • @UnderCtrl
    @UnderCtrl Pƙed 10 hodinami

    For anyone following along with this series, I apologize for the delay on part 4. I currently have exams and plan to finish them before (or early) August. Sorry for the inconvenience.

  • @j1mp958
    @j1mp958 Pƙed 11 hodinami

    Please do more! :'(

  • @GamerMatto
    @GamerMatto Pƙed 13 hodinami

    These are the best tutorial, i am on linux and its all so good

  • @Dhcwll1
    @Dhcwll1 Pƙed dnem

    "Bot torture chamber"

  • @hxndrikk_
    @hxndrikk_ Pƙed dnem

    i got everytime an error when i try to type something and the bot dont respond after 12:14

  • @Timilehin-b2w
    @Timilehin-b2w Pƙed dnem

    please sir i need help setting this up

  • @famq7279
    @famq7279 Pƙed 3 dny

    If your bot is connected to a database would it read the database/api?

  • @RainDropBlopper
    @RainDropBlopper Pƙed 3 dny

    I think this video needs an update as since a few days I always get the message that there are Api issues, I generated a new API and it still doesn't work, OpenAI must have changed something

  • @ĐăngKhĂŽiNguyễnXuĂąn-o8f

    Good work. Awesome! Also, can you tell me how to get that JetBrains IDE fonts in VSCode?

  • @sxrja
    @sxrja Pƙed 5 dny

    Discord JS is cool but i think when you just learn some java basics its way easier to create a bot with jda. i tried javascript and it was something else oh boi

  • @vladiusvostokus
    @vladiusvostokus Pƙed 6 dny

    Why do we need eventHandler and client.login inside async IIFE?

  • @franciscorodrigues8340

    Awesome video man, is there an event to check the end of the poll ? I mean, we set up a duration time, when this times over, there is an event that I can read to confirm the end of the poll?

  • @SOGSAGS
    @SOGSAGS Pƙed 7 dny

    why my nodemon didnt work??/

  • @ĐăngKhĂŽiNguyễnXuĂąn-o8f

    The best discord bots tutorial i've seen on CZcams! Comment: you can use the find and replace in vscode by simply press Ctrl + F to replace the words much easier. Keep it up!

  • @hidhayaths
    @hidhayaths Pƙed 11 dny

    Excellent! Can we do classes in ts with the same steps or do we need any other configs? Pls advise

    • @UnderCtrl
      @UnderCtrl Pƙed 11 dny

      You can use the same config for classes

  • @katunu6030
    @katunu6030 Pƙed 12 dny

    Why doesn't visual studio recognize npm as a program

  • @thatoneweirdkidthatyoudisl6723

    can someone help me, it say Routes.applicationGuildCommands not a function

  • @Dynos_On_Youtube
    @Dynos_On_Youtube Pƙed 15 dny

    none of the commands work they all say this nodemon : The term 'nodemon' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + nodemon + ~~~~~~~ + CategoryInfo : ObjectNotFound: (nodemon:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

  • @The_LukeZ
    @The_LukeZ Pƙed 15 dny

    Really good tutorial! I've already wrote the api and stuff but I will definitely will take your code as inspiration ^^

  • @iMegawalle
    @iMegawalle Pƙed 16 dny

    Is there a way I could import an entire custom personality to the bot? I would like it to have a memory of information I give it.

  • @flatsnap
    @flatsnap Pƙed 17 dny

    and just like other dashboard series this one is dropped as well

    • @UnderCtrl
      @UnderCtrl Pƙed 16 dny

      @@flatsnap I’m sorry I got exams to wrap up. I’ve planned a stream next week though.

  • @Marlon-ly4ui
    @Marlon-ly4ui Pƙed 17 dny

    Hello Under Ctrl, i habe an strange issue. I build a discord app and i gave im the right rights as yours in the video. Then i build the bot and run him as a docker container. Now the strange starts. If i run him on my local maschine in docker compose the / commands working fine, but if i run him on my raspi the app crashes and say "discordjs can't regonize the command" . Its the same for a simple / gives text command and a / makes a database and fetch data command. Do you have some guesses why? I work with await interaction.deferReply({ ephemeral: true }); and interaction.editReply({ content: "some content", }); and with interaction.reply({ content: 'some content', ephemeral: true, }); nothing work on raspi. And Yes the commands are registert

  • @notsopro1209
    @notsopro1209 Pƙed 20 dny

    i got an error in the console saying upvote is not defined, can you help me

  • @user-jm6kj2ru6j
    @user-jm6kj2ru6j Pƙed 20 dny

    i need to buy api?

  • @Hsy0525
    @Hsy0525 Pƙed 21 dnem

    npm command on terminal doesn’t work

  • @v.demchenko
    @v.demchenko Pƙed 21 dnem

    absolutely amazing video with great explanation every detail

  • @Genericnamehereagain
    @Genericnamehereagain Pƙed 22 dny

    the npm command doesent work for me

  • @tariqplays5826
    @tariqplays5826 Pƙed 22 dny

    For anyone who is having random issues with their bot interactions, change your interaction callback to an async function and include await before interaction.reply Example: client.on("interactionCreate", async (interaction) => { if (!interaction.isChatInputCommand()) return; if (interaction.commandName === "hey") { await interaction.reply("hi"); } Hope this helps.

  • @sabenamiller8407
    @sabenamiller8407 Pƙed 23 dny

    I can't get the fontawesome icons to show

  • @ericlamacchia4277
    @ericlamacchia4277 Pƙed 23 dny

    when i do npm init -y, i get an error saying that npm is not recognized as a name of a cmdlet.... Help please!

  • @MythicNinja
    @MythicNinja Pƙed 24 dny

    So I downloaded Node.js but when I run the command npm init -y or npm init. VSC just gives me an error.

  • @c.i.d9581
    @c.i.d9581 Pƙed 24 dny

    why does your status bar says connected to discord

  • @PlatinumBuckGorilla
    @PlatinumBuckGorilla Pƙed 25 dny

    Everyting on point. Very good tutorial. Saved me a lot of time. Been fluffing around with webpack and it’s plug-ins especially the ts-loader the bloody things are so out of sync. Spent countless hours trying to find compatible versions between the two.

  • @tariqplays5826
    @tariqplays5826 Pƙed 26 dny

    BANGER tutorial. Loved it.

  • @RadiumMarshmallows
    @RadiumMarshmallows Pƙed 27 dny

    this is a good tutorial, but is there any way to make this work to register commands globally instead of on just one server?

  • @TheBenhichem
    @TheBenhichem Pƙed 27 dny

    nice, simple and straight forward

  • @qudratullahkhan4518
    @qudratullahkhan4518 Pƙed 27 dny

    Very Informative video. I have a question, this package is for Node Js. But how can we create a Vanilla JavaScript library like moment.js?

  • @sanjay-gf9pr
    @sanjay-gf9pr Pƙed 28 dny

    import {defineConfig} from 'tsup' export default defineConfig({ format: ['cjs', 'esm'], entry: ['./src/index.ts'], dts: true, shims: true, skipNodeModulesBundle: true, clean: true, }) and { "compilerOptions": { "target": "es2022", "module": "commonjs", "outDir": "dist", "declaration": true, "noEmit": true, "isolatedModules": true, "esModuleInterop": true, "moduleResolution": "Node", /* Type Checking */ "strict": true, "noImplicitAny": true, "strictNullChecks": true, }, "include": ["src"], "exclude": ["node_modules"] }

  • @king_sentry
    @king_sentry Pƙed 28 dny

    Still cant change my mind from js to ts, i just love js lol

  • @t00k1
    @t00k1 Pƙed 29 dny

    aint working for no reason i retried 3 times :(

    • @HardcoreGamingStyle
      @HardcoreGamingStyle Pƙed 20 dny

      there is a Video from Codelyon and when I did that It worked perfectly.

  • @LameOLyfe
    @LameOLyfe Pƙed měsĂ­cem

    11:37 how do i do that?

  • @AnanyaChadha
    @AnanyaChadha Pƙed měsĂ­cem

    very helpful, thank you so much!!

  • @AnanyaChadha
    @AnanyaChadha Pƙed měsĂ­cem

    so helpful, thank you!

  • @albin8961
    @albin8961 Pƙed měsĂ­cem

    The require is always throwning an error for me and it says that the modul cant be found

  • @venumadhavbikki3124
    @venumadhavbikki3124 Pƙed měsĂ­cem

    app crashed waiting for file changes before starting I'm getting like this can u help me with this I just trainee level developer I don't know what to do

  • @Chuppa2
    @Chuppa2 Pƙed měsĂ­cem

    Sometimes the ENV DOES NOT WORK, just put .env inside of the src folder and put .gitignore there too.

  • @JLveryToxic666
    @JLveryToxic666 Pƙed měsĂ­cem

    hi there, my nodemon doesnt work , it shows that + CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess

  • @mayurghuge8846
    @mayurghuge8846 Pƙed měsĂ­cem

    Thank you.

  • @DemonX82
    @DemonX82 Pƙed měsĂ­cem

    How to use it with messageUpdate ?

  • @FIIXRT
    @FIIXRT Pƙed měsĂ­cem

    This is decadence bro