Articles tagged with Python

5 Tips for Making Better Components in Tanjun

Authors: Asterisk KatieKat

Tanjun and Hikari go through rapid development! With that come a lot of improvements even between articles. Here's a few quick tips that have changed that will streamline your code!

An Example Generic Plugin

Let's look at a simple Tanjun plugin outline. First we define a new component, my_component on …

Read more about 5 Tips for Making Better Components in Tanjun >>>

We appreciate Donations & Tips!

We would much rather be making cool tutorials, streaming code, and making accessibility tools. Unfortunately we have bills and a job. Hopefully one day, with enough Patrons and donations this can be fulltime!

Deeper Look at Dependency Injection in Tanjun

Authors: Asterisk KatieKat

Tanjun uses a more functional approach than other Discord libraries. Functional in this post does not mean, provides more utility, but rather is written in a functional programming style. One good example is how hikari and Tanjun implement a Bot.

In other Discord libraries you create a new class that …

Read more about Deeper Look at Dependency Injection in Tanjun >>>

Embed Plugin, Dependency Injection, and Buttons/Components!

Authors: KatieKat Asterisk

Note: This is part 2 of an ongoing series! If you didn't see Part 11, make sure to read through it. It gives the basic setup for this project that you'll need. If you're already familiar with Hikari and Tanjun and want to get right into it, just clone …

Read more about Embed Plugin, Dependency Injection, and Buttons/Components! >>>

We appreciate Donations & Tips!

We would much rather be making cool tutorials, streaming code, and making accessibility tools. Unfortunately we have bills and a job. Hopefully one day, with enough Patrons and donations this can be fulltime!

Build a Discord Bot in Python with Hikari & Tanjun

Authors: Asterisk KatieKat

Discord.py archived so it's time to find a new Discord Bot library for Python! We searched for a few weeks and reviewed multiple projects. By the end Hikari and Tanjun looked most promising to us.

This series will start from scratch and slowly build a Discord Bot all while …

Read more about Build a Discord Bot in Python with Hikari & Tanjun >>>