Recipes
Transformers
What is a transformer?
Basically, a transformer is a function that takes an object and transforms it into another value. In Seyfert, transformers are used to transform data coming from Discord into any values you need.
How are they used?
Let's look at an example of a transformer.
Let the autocomplete of your editor guide you and discover all the possibilities you have.
How can I use them?
For example, we defined a transformer for the user earlier, now let's see how we can use it.