mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-08 12:18:54 -05:00
[Streams] Resolve bug with [p]streamalert youtube (#4629)
The command didn't handle channels that were not provided as IDs
This commit is contained in:
parent
f1d2be58c1
commit
f129dcd1a9
@ -408,7 +408,10 @@ class Streams(commands.Cog):
|
||||
bearer=self.ttv_bearer_cache.get("access_token", None),
|
||||
)
|
||||
else:
|
||||
stream = _class(name=channel_name, token=token)
|
||||
if is_yt:
|
||||
stream = _class(name=channel_name, token=token, config=self.config)
|
||||
else:
|
||||
stream = _class(name=channel_name, token=token)
|
||||
try:
|
||||
exists = await self.check_exists(stream)
|
||||
except InvalidTwitchCredentials:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user