We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14271d2 commit 23f631eCopy full SHA for 23f631e
docs/exts/eventsub.rst
@@ -27,9 +27,9 @@ A Quick Example
27
from twitchio.ext import eventsub, commands
28
bot = commands.Bot(token="...")
29
eventsub_client = eventsub.EventSubClient(bot, "some_secret_string", "/callback")
30
- # when subscribing
+ # when subscribing (you can only await inside coroutines)
31
32
- await eventsub_client.subscribe_channel_subscribtions("channel_name")
+ await eventsub_client.subscribe_channel_subscriptions(channel_ID)
33
34
@bot.event()
35
async def eventsub_notification_subscription(payload: eventsub.ChannelSubscribeData):
0 commit comments