Skip to content

Commit

Permalink
apply mod of EmreTech's rename suggestion, apply one I forgot to batc…
Browse files Browse the repository at this point in the history
…h commit.

Signed-off-by: Alex Schoenhofen <alexanderschoenhofen@gmail.com>
  • Loading branch information
alentoghostflame committed Jul 22, 2023
1 parent b2a3dd6 commit 262ce20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions disnake/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,8 @@ def __init__(
# dispatch: Callable,
) -> None:
# TODO: Think about adding ratelimit_multiplier? Would reduce the internal RateLimit.limit by that
# float (such as 0.7) and could allow people to run multiple NC bots/processes on the same token while avoiding
# ratelimit issues. Could also help with replit-style scenarios.
# float (such as 0.7) and could allow people to run multiple Disnake bots/processes on the same token while
# avoiding ratelimit issues. Could also help with replit-style scenarios.
self.__session: aiohttp.ClientSession = MISSING # Set when performing a request.
self._connector = connector
self._default_max_per_second = default_max_per_second
Expand Down Expand Up @@ -1074,7 +1074,7 @@ async def request(
# This means we have an internal issue that we need to fix.
raise ValueError(
"RateLimit said to migrate, but the RateLimit to migrate was not found? This is an "
"internal Nextcord error and should be reported!"
"internal Disnake error and should be reported!"
)

else:
Expand Down

0 comments on commit 262ce20

Please sign in to comment.