Build a Discord Currency Bot 3 - Slash Commands

Поділитися
Вставка
  • Опубліковано 13 лип 2023
  • So, we didn't really build a bot, let's fix that and make it deal with slash commands like it was built to do it. 'Cause it was. In this lesson, we'll take a look at:
    * Accessing Commands
    * Dealing with Databases for users
    * Multiple, optional arguments in a command
    Don't forget that you can follow this tutorial with text and live code editing at replit.com/learn/discord-currency-bot
  • Розваги

КОМЕНТАРІ • 6

  • @truongkhoaui
    @truongkhoaui 3 місяці тому +2

    Slash commands must be tree.command or app_commands, not prefix commands pls

  • @eyebol
    @eyebol 10 місяців тому +2

    bro, this isnt slash commands

  • @SirGeneral
    @SirGeneral 9 місяців тому

    the "async def balance" doesnt work, it doesnt send anything

    • @resist-slavery
      @resist-slavery 7 місяців тому

      I had the same error. The reason behind it was because when you put the code to return if the message author was itself, you didnt put bot.process_commands(message) after return, inline with the if statement. This should fix it.

    • @donutgames777
      @donutgames777 2 місяці тому

      @@resist-slaverythanks bro

    • @applejuice2869
      @applejuice2869 2 місяці тому

      help pls…. I still cant get it work