X Tutup
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Simple example

This is an example from README.md. It runs a bot with a simple command /task. To run the example:

  1. Install requirements, using command pip install -r example/requirements.txt;
  2. Replace TOKEN in __main__.py with your actual token;
  3. Start taskiq workers, by running taskiq worker example.tkq:broker --fs-discover;
  4. Start the bot, by running python example.
X Tutup