Removed old play function
This commit is contained in:
parent
eb49b39abc
commit
db44972194
1 changed files with 0 additions and 16 deletions
16
main.py
16
main.py
|
|
@ -102,22 +102,6 @@ async def restart(ctx):
|
||||||
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.playing, name='PolaroBot redémarre...'))
|
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.playing, name='PolaroBot redémarre...'))
|
||||||
restart_bot()
|
restart_bot()
|
||||||
|
|
||||||
|
|
||||||
@bot.command(aliases=['play_music'], pass_context=True)
|
|
||||||
async def play(ctx, url: str):
|
|
||||||
"""Playing a song"""
|
|
||||||
if is_a_youtube_url(url):
|
|
||||||
embedPlaying = discord.Embed(
|
|
||||||
title="🤖PolaroBot joue", description=f"Je sais pas encore jouer de musique mais tkt frère, vla ton URL mon reuf : {url}")
|
|
||||||
embedPlaying.set_image(url=random_playing_gif())
|
|
||||||
|
|
||||||
else:
|
|
||||||
embedPlaying = discord.Embed(title="🤖PolaroBot veut casser ta gueule",
|
|
||||||
description=f"FREROT ?! C'EST QUOI {url} ? C'EST DE LA MERDE 💩💩💩 ! ")
|
|
||||||
embedPlaying.set_image(
|
|
||||||
url="https://media.tenor.com/wQH1Lm24wLwAAAAM/de-la-merde-jean.gif")
|
|
||||||
await ctx.send(embed=embedPlaying)
|
|
||||||
|
|
||||||
@bot.command(name='play_song', help='To play song')
|
@bot.command(name='play_song', help='To play song')
|
||||||
async def play(ctx,url):
|
async def play(ctx,url):
|
||||||
try :
|
try :
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue