help valou
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
@commands.command()
|
||||
async def avatar(self, ctx, user: discord.Member = None):
|
||||
"""Récuperer l'avatar de ..."""
|
||||
if user is None:
|
||||
user = ctx.message.author
|
||||
url_avatar = user.avatar_url_as(format='png')
|
||||
embed = discord.Embed(
|
||||
title='Avatar de : ' + user.name,
|
||||
url=user.avatar_url_as(format='png'),
|
||||
description=(f'[Voir en plus grand]'
|
||||
f"({url_avatar})")
|
||||
)
|
||||
embed.set_thumbnail(url=url_avatar)
|
||||
await ctx.send(embed=embed)
|
||||
@@ -0,0 +1,5 @@
|
||||
a
|
||||
c
|
||||
d
|
||||
e
|
||||
f
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
while True:
|
||||
text = input('write on enter:')
|
||||
with open('test_file.txt', 'a') as f:
|
||||
f.write(text)
|
||||
Reference in New Issue
Block a user