How To Make Discord Bot Using Python || Slash command & bot Status (2023)

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024

Комментарии • 43

  • @Anthony570
    @Anthony570 6 месяцев назад +2

    Thank you! I've learned a lot from this.

  • @jimfrootloopfilledbrain
    @jimfrootloopfilledbrain 4 месяца назад +1

    Also I dont know if anyone else had this problem but for some reason on his side when typing the
    await interaction.response.send_message(f"Pong!..."{bot_latency},"ms") you have to put commas between each thing so it would look like this
    await interaction.response.send_message(f"Pong!...", {bot_latency}, "ms")
    Dont know if anyone else had that problem and I don't know how he did not get that error but that is the solution!

  • @bishalstha1260
    @bishalstha1260 8 месяцев назад +1

    You wont believe but this is my first discord project that worked
    and it worked by your tutorial thanks a lot

    • @torzod
      @torzod 4 месяца назад +1

      same

  • @cftrezawd9512
    @cftrezawd9512 8 месяцев назад +9

    Hey, the slash command doesn't work

  • @trducgaming
    @trducgaming 9 месяцев назад +1

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for multidict
    Failed to build frozenlist multidict
    ERROR: Could not build wheels for frozenlist, multidict, which is required to install pyproject.toml-based projects

    • @ViniciusASMR1
      @ViniciusASMR1 8 месяцев назад +1

      python version

    • @n1x404
      @n1x404  8 месяцев назад +2

      Make sure your python is updated if still occur update your pip or reinstall it (i have fixed the same issue by installing Microsoft visuals)

  • @user-ny7rv8it4r
    @user-ny7rv8it4r 6 месяцев назад +1

    'Bot' object has no attribute 'tree' where u get tree bro?

  • @n1x404
    @n1x404  11 месяцев назад +3

    Timestamp :
    00:00 Intro
    00:20 Creating bot profile
    02:57 Invite bot to server
    03:35 Coding
    07:30 Prefix command
    09:00 Bot activity and status
    10:43 Slash command
    13:18 Outro
    Rip gojo :(

  • @shinobi5237
    @shinobi5237 4 месяца назад

    I did the pip install discord and the script don't find the discord module!

  • @user-et6yv9cf1j
    @user-et6yv9cf1j 10 месяцев назад

    this is the best video for newbie like me

    • @n1x404
      @n1x404  10 месяцев назад

      Im glad that you understand thank you ❤️

  • @Electronn2.0
    @Electronn2.0 9 месяцев назад +2

    the bot is not coming online what did i do wrong? i did exactly like u did

    • @n1x404
      @n1x404  8 месяцев назад +1

      Make sure you follow the code correctly and provide the terminal error for more help

  • @viwesbot
    @viwesbot 9 месяцев назад +2

    Interactions does not work now, its dead

    • @naroors
      @naroors 9 месяцев назад

      welp. RIP.

  • @darqside4ever
    @darqside4ever 7 месяцев назад

    Exception has occurred: ModuleNotFoundError
    No module named 'discord'
    File "C:\Users\anyel\Downloads\discordbot\main.py", line 1, in
    import discord
    ModuleNotFoundError: No module named 'discord'
    Can someone please help me?

    • @kooktae465
      @kooktae465 7 месяцев назад

      Did you "pip install discord" in the terminal?

  • @obm_jay
    @obm_jay 8 месяцев назад

    hello say i alr had a bot and i made a new file for js commands how do it get it to work with the main file? do i just require or import it in the main file if this makes sense

  • @muffingfx
    @muffingfx 8 месяцев назад

    Very nice tutorial

  • @MrSheep932
    @MrSheep932 4 месяца назад

    paste this 5:47

  • @Salah_Alnasser
    @Salah_Alnasser 4 месяца назад +1

    I need help

  • @user-ny7rv8it4r
    @user-ny7rv8it4r 6 месяцев назад

    Bot' object has no attribute 'tree', where u get tree bro? and Interaction dead how i can make slash command?

    • @lucathebrainrot
      @lucathebrainrot 6 месяцев назад

      YEAH I HAVE NO CLUE HOW HES GETTING THAT??

  • @Salah_Alnasser
    @Salah_Alnasser 4 месяца назад

    When i run it it say ( 'modul' object is not callable) can you help me?

    • @torzod
      @torzod 4 месяца назад

      Google it

  • @khuhaiku
    @khuhaiku 6 месяцев назад

    Bro why would you post spoilers in a devving tutorial 😢 damn..

  • @ayandas4473
    @ayandas4473 11 месяцев назад +1

    Ok views de Diya le

  • @govindprajapati3354
    @govindprajapati3354 11 месяцев назад +1

    LBish Bhai

    • @n1x404
      @n1x404  11 месяцев назад

      😂😂

  • @jjlight21
    @jjlight21 8 месяцев назад +1

    Not working for me, no slash command

    • @n1x404
      @n1x404  8 месяцев назад

      Sorry to hear that but this is working correctly for me and if you can provide the exact error I will further help you with that

  • @PsychPersonal
    @PsychPersonal 7 месяцев назад

    hey brother i wanna run bot from prefix and slash command also but when i copy and paste and i just change to bot.tree.command then a yellow line comes under async

  • @sairam3978
    @sairam3978 10 месяцев назад

    thankyou

    • @n1x404
      @n1x404  10 месяцев назад

      Thankyou too for the support ❤

  • @falcoln6474
    @falcoln6474 9 месяцев назад

    @client.event
    async def on_ready():
    await client.wait_until_ready()
    print(f"{client.user.name} is logged in.")
    My code has the following error:
    "name" is not a known member of "None"

    • @Poofusboothus
      @Poofusboothus 7 месяцев назад

      dont use "await client.wait_until_ready()" remove it and try again.

  • @torzod
    @torzod 4 месяца назад

    You wont believe but this is my first discord project that worked
    and it worked by your tutorial thanks a lot