Skip to content

Commit 97af55c

Browse files
committed
Remove redundant docs/logs
1 parent 399ee7c commit 97af55c

File tree

4 files changed

+4
-19
lines changed

4 files changed

+4
-19
lines changed

twitchio/client.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ async def start(
477477
token: str | None
478478
An optional app token to use instead of generating one automatically.
479479
with_adapter: bool
480-
Whether to start and run a web adapter. Defaults to `True`. See: ... for more information.
480+
Whether to start and run a web adapter. Defaults to `True`.
481481
load_tokens: bool
482482
Optional bool which indicates whether the :class:`Client` should call :meth:`.load_tokens` during
483483
:meth:`.login` automatically. Defaults to ``True``.
@@ -546,7 +546,7 @@ def run(
546546
token: str | None
547547
An optional app token to use instead of generating one automatically.
548548
with_adapter: bool
549-
Whether to start and run a web adapter. Defaults to `True`. See: ... for more information.
549+
Whether to start and run a web adapter. Defaults to `True`.
550550
load_tokens: bool
551551
Optional bool which indicates whether the :class:`Client` should call :meth:`.load_tokens` during
552552
:meth:`.login` automatically. Defaults to ``True``.
@@ -2214,10 +2214,6 @@ async def subscribe_websocket(
22142214
22152215
Subscribe to an EventSub Event via Websockets.
22162216
2217-
.. note::
2218-
2219-
See: ... for more information and recipes on using eventsub.
2220-
22212217
Parameters
22222218
----------
22232219
payload: :class:`twitchio.eventsub.SubscriptionPayload`
@@ -2345,10 +2341,6 @@ async def subscribe_webhook(
23452341
23462342
Subscribe to an EventSub Event via Webhook.
23472343
2348-
.. note::
2349-
2350-
For more information on how to setup your bot with webhooks, see: ...
2351-
23522344
.. important::
23532345
23542346
Usually you wouldn't use webhooks to subscribe to the

twitchio/ext/commands/context.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -520,8 +520,6 @@ async def send(self, content: str, *, me: bool = False) -> SentMessage:
520520
then additionally requires the ``user:bot`` scope on the bot,
521521
and either ``channel:bot`` scope from the broadcaster or moderator status.
522522
523-
See: ... for more information.
524-
525523
Parameters
526524
----------
527525
content: str
@@ -562,8 +560,6 @@ async def reply(self, content: str, *, me: bool = False) -> SentMessage:
562560
then additionally requires the ``user:bot`` scope on the bot,
563561
and either ``channel:bot`` scope from the broadcaster or moderator status.
564562
565-
See: ... for more information.
566-
567563
Parameters
568564
----------
569565
content: str
@@ -602,7 +598,6 @@ async def send_announcement(
602598
.. important::
603599
604600
The broadcaster of the associated channel must have granted your bot the ``moderator:manage:announcements`` scope.
605-
See: ... for more information.
606601
607602
Parameters
608603
----------
@@ -637,7 +632,6 @@ async def delete_message(self) -> None:
637632
.. important::
638633
639634
The broadcaster of the associated channel must have granted your bot the ``moderator:manage:chat_messages`` scope.
640-
See: ... for more information.
641635
642636
.. note::
643637
@@ -664,7 +658,6 @@ async def clear_messages(self) -> None:
664658
.. important::
665659
666660
The broadcaster of the associated channel must have granted your bot the ``moderator:manage:chat_messages`` scope.
667-
See: ... for more information.
668661
669662
Raises
670663
------

twitchio/web/aio_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ async def eventsub_callback(self, request: web.Request) -> web.Response:
246246
return web.Response(status=400)
247247

248248
if not self._eventsub_secret:
249-
msg: str = f"Eventsub Webhook '{self!r}' must be passed a secret. See: ... for more info.'"
249+
msg: str = f"Eventsub Webhook '{self!r}' must be passed a secret.'"
250250
return web.Response(text=msg, status=400)
251251

252252
msg_id: str | None = headers.get("Twitch-Eventsub-Message-Id", None)

twitchio/web/starlette_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ async def eventsub_callback(self, request: Request) -> Response:
288288
return Response(status_code=400)
289289

290290
if not self._eventsub_secret:
291-
msg: str = f"Eventsub Webhook '{self!r}' must be passed a secret. See: ... for more info.'"
291+
msg: str = f"Eventsub Webhook '{self!r}' must be passed a secret.'"
292292
return Response(msg, status_code=400)
293293

294294
msg_id: str | None = headers.get("Twitch-Eventsub-Message-Id", None)

0 commit comments

Comments
 (0)