suppression print de deboguage
This commit is contained in:
parent
e4a7122ea8
commit
3233b7b709
1 changed files with 0 additions and 1 deletions
|
@ -136,7 +136,6 @@ class Internet(commands.Cog):
|
||||||
if ctx.channel.is_nsfw():
|
if ctx.channel.is_nsfw():
|
||||||
embed = discord.Embed(title = f"{choice_of_nsfw.capitalize()} pour {ctx.author.name}", colour = discord.Colour.random())
|
embed = discord.Embed(title = f"{choice_of_nsfw.capitalize()} pour {ctx.author.name}", colour = discord.Colour.random())
|
||||||
nsfw = randomImage(f'http://api.o{choice_of_nsfw}.ru/noise/')
|
nsfw = randomImage(f'http://api.o{choice_of_nsfw}.ru/noise/')
|
||||||
print(nsfw)
|
|
||||||
embed.set_image(url = f"http://media.o{choice_of_nsfw}.ru/{nsfw[0][0]['preview']}")
|
embed.set_image(url = f"http://media.o{choice_of_nsfw}.ru/{nsfw[0][0]['preview']}")
|
||||||
embed.set_footer(text = f"o{choice_of_nsfw}.ru a pris {nsfw[1]} ms pour sortir l'image n°{nsfw[0][1]}-{nsfw[1]}.")
|
embed.set_footer(text = f"o{choice_of_nsfw}.ru a pris {nsfw[1]} ms pour sortir l'image n°{nsfw[0][1]}-{nsfw[1]}.")
|
||||||
if fromSlash != True:
|
if fromSlash != True:
|
||||||
|
|
Reference in a new issue