Skip to content

Commit

Permalink
Update discordbot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Fukuda-B committed Oct 21, 2021
1 parent 80b9e46 commit ded6ebf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions discordbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ class Youtube(commands.Cog):
# 'quiet': True,
'no_warnings': True,
'default_search': 'auto',
'source_address': '0.0.0.0'
# 'source_address': '0.0.0.0'
}
# ytdl = youtube_dl.YoutubeDL(ytdl_opts)
def __init__(self, bot):
Expand Down Expand Up @@ -632,7 +632,7 @@ def __init__(self, bot):
# 'quiet': True,
'no_warnings': True,
'default_search': 'auto',
'source_address': '0.0.0.0'
# 'source_address': '0.0.0.0'
}
self.ytdl_opts_np = {
'format' : 'bestaudio/best',
Expand All @@ -643,7 +643,7 @@ def __init__(self, bot):
# 'quiet': True,
'no_warnings': True,
'default_search': 'auto',
'source_address': '0.0.0.0'
# 'source_address': '0.0.0.0'
}
@commands.command(description='Discord_VoiceChat Connect')
async def v_connect(self, ctx):
Expand Down Expand Up @@ -790,7 +790,7 @@ async def b(self, ctx):

filename_ = await Youtube.ydl_proc(self, ctx, mm['url'], self.ytdl_opts_np)
if filename_:
print(filename_)
# print(filename_)
filename = filename_[0]['filename']
filename = await VoiceChat.effect(self, filename) # エフェクト
# await Basic.send(self, ctx, f'`{brand_n}` - `{mm["title"]}`')
Expand Down

0 comments on commit ded6ebf

Please sign in to comment.