hiltgogreen.blogg.se

Discord chat bot github
Discord chat bot github





  1. Discord chat bot github install#
  2. Discord chat bot github zip file#
  3. Discord chat bot github software#

join (or " PREFIXjoin" if you've decided to change the bot's prefix) in any text channel - this will tell the bot to join the voice channel you're currently in. Now that you've successfully completed the installation process, you're ready to start using the bot! Assuming you've already invited it to one of your servers and you've got enough permissions to use it, you can run a couple of commands to get started. To start the bot, you can run the following command in a terminal window: python main.py.

Discord chat bot github install#

  • In a terminal window, run the following command: sudo apt install ffmpeg.
  • Edit the version variable in the main.py file by changing its value to "L" for "Linux".
  • If you're on Linux (most likely because you'd like to host the bot on a server), follow these additional steps in order to get the bot's voice chat module to run: Please note that you'll have to edit the bat file accordingly if you change the script's name. Run the following command in a terminal window: python main.pyĭouble click the run.bat file, which runs the python main.py command on its own.
  • Paste the "ffmpeg.exe" file in the "bin" directory of the Discord bot folder.
  • Discord chat bot github zip file#

  • Extract the zip file anywhere on your PC and copy the "ffmpeg.exe" file which can be found in the "bin" directory of the zip file you've just extracted.
  • Discord chat bot github software#

    This software is needed in order to get the bot to talk in voice channels. Go to the following link to install a Windows version of the FFmpeg software (please note that clicking on the link above will automatically start the download process).Edit the version variable in the main.py file by changing its value to "W" for "Windows".If you're on Windows, follow these additional steps in order to get the bot's voice chat module to run: If you'd like to limit the bot's usage to certain individuals or restrict its access to specific text channels, you can edit the user_ids and channel_ids variables accordingly.IBM_WATSON_DEFAULT_ACCENT: Changing this is optional, but you can change your Discord bot's default accent.IBM_WATSON_URL: Your IBM Watson Text to Speech service API URL.Can be found on your IBM Cloud dashboard.IBM_WATSON_API_KEY: Your IBM Watson Text to Speech service API key.Can be found on your Discord developer portal.DISCORD_TOKEN: Your Discord bot's token.bot_prefix: Changing this is optional, but you can change your Discord bot's prefix if you want.

    discord chat bot github

    Edit the following variables in the main.py file:.This will install all of the needed Python libraries that are listed in the requirements.txt file. Install the Python dependencies by running the pip install -r requirements.txt command in a terminal window.These steps will get you up and running as soon as possible.įollow these steps to install the bot regardless of your platform. Integrated into the project is OpenAI's chatbot solution that allows users to have realistic conversations via Voice & Text. With the use of a Text to Speech service such as IBM Watson, it's possible to convert a Discord user's text messages to speech. This Discord bot allows users to talk in a voice chat without the use of a microphone.







    Discord chat bot github