You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started/faq.rst
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,3 +45,20 @@ is more performant and easier to use. Twitch is also actively working on adding
45
45
when they do, there will be a faster and easier turn-around for this data to be added into the library.
46
46
47
47
In the future, we are looking to devlop an ext that will run IRC, however the core lib going forward will stay with EventSub.
48
+
49
+
50
+
What is the difference between Client and Bot?
51
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52
+
53
+
:class:`twitchio.ext.commands.Bot` subclasses :class:`~twitchio.Client`, which means that everything :class:`~twitchio.Client`
54
+
can do, and everything belonging to :class:`~twitchio.Client` is also possible and available on :class:`~twitchio.ext.commands.Bot`.
55
+
56
+
The benefit of :class:`twitchio.ext.commands.Bot` is that it is part of the `ext.commands <https://twitchio.dev/en/latest/exts/commands/index.html#commands>`_
57
+
extension. This extension is a powerful and easy to use package that allows the creation of :class:`~twitchio.ext.commands.Command`'s' and
58
+
:class:`twitchio.ext.commands.Component`'s which allow you to easily create chat based commands and sub-commands,
59
+
with argument parsing and converters, guards for fine-grained permission control, cooldowns,
60
+
the use of :class:`twitchio.ext.commands.Context` (featureful context around the invocation of commands; with many helpers)
61
+
and more.
62
+
63
+
Used with :class:`twitchio.ext.commands.Component`'s and hot-reloading extension support you can easily manage your applications
64
+
codebase with multiple modules and/or pacakges, with minimal down-time.
0 commit comments