


These include the snap command, dpkg command, and flatpak command. You can install Discord on your Ubuntu Linux computer through the terminal using three major commands. Get Discord up and Running on Linux Through the Terminal Install Discord on Linux Through the GUI.How to Install Discord Through Linux Terminal Using Flatpack Command.How to Install Discord Through Linux Terminal Using Dpkg Command.How to Install Discord Through Linux Terminal Using Snap Command.Get Discord up and Running on Linux Through the Terminal.You can find more examples in the examples directory. command () async def ping ( ctx ): await ctx.

run ( 'token' ) Bot Example import discord from discord.ext import commands bot = commands. send ( 'pong' ) client = M圜lient () client. user ) async def on_message ( self, message ): # don't respond to ourselves if message. Client ): async def on_ready ( self ): print ( 'Logged on as', self. Quick Example import discord class M圜lient ( discord. Libffi-dev (or libffi-devel on some systems) apt, dnf, etc) before running the above commands: Please note that on Linux installing voice you must install the following packages via your favourite package manager (e.g. To install the development version, do the following: $ git clone Python3 -m pip install -U "discord.py" # Windows Otherwise to get voice support you should run the following command: # Linux/macOS To install the library without full voice support, you can just run the following command: # Linux/macOS Modern Pythonic API using async and await.ġ00% coverage of the supported Discord API. A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.
