adding endline
This commit is contained in:
parent
c758c19632
commit
83e6eec443
10 changed files with 10 additions and 10 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,4 +2,4 @@ UPDATE/
|
||||||
.dockerignore
|
.dockerignore
|
||||||
Dockerfile
|
Dockerfile
|
||||||
setup.py
|
setup.py
|
||||||
cogs/music_old.py
|
cogs/music_old.py
|
||||||
|
|
|
@ -25,4 +25,4 @@ token = "your token"
|
||||||
|
|
||||||
## __Features__
|
## __Features__
|
||||||
|
|
||||||
Everything is explained by doing `.help`
|
Everything is explained by doing `.help`
|
||||||
|
|
|
@ -105,4 +105,4 @@ class Fun(commands.Cog):
|
||||||
|
|
||||||
@commands.command(name='pileouface', aliases=['pf'])
|
@commands.command(name='pileouface', aliases=['pf'])
|
||||||
async def _pileouface(self, ctx):
|
async def _pileouface(self, ctx):
|
||||||
return await ctx.send(f"{'Pile' if randint(0,1) == 1 else 'Face'} !")
|
return await ctx.send(f"{'Pile' if randint(0,1) == 1 else 'Face'} !")
|
||||||
|
|
|
@ -90,4 +90,4 @@ class Games(commands.Cog):
|
||||||
except:
|
except:
|
||||||
await ctx.send(f"Erreur dans la réponse {ctx.author.mention}, merci de n'écrire qu'un nombre. Tapez `stop` pour arrêter le jeu.")
|
await ctx.send(f"Erreur dans la réponse {ctx.author.mention}, merci de n'écrire qu'un nombre. Tapez `stop` pour arrêter le jeu.")
|
||||||
del self.guessing_game[str(ctx.author.id)]
|
del self.guessing_game[str(ctx.author.id)]
|
||||||
await ctx.send(f"T'as pas trouvé {ctx.author.mention}... dommage, c'était {number}.")
|
await ctx.send(f"T'as pas trouvé {ctx.author.mention}... dommage, c'était {number}.")
|
||||||
|
|
|
@ -64,4 +64,4 @@ class Help(commands.Cog):
|
||||||
halp = discord.Embed(title = 'Erreur !', description = f"Qu'est ce que {cog[0]} ?", color = 0xC41B1B)
|
halp = discord.Embed(title = 'Erreur !', description = f"Qu'est ce que {cog[0]} ?", color = 0xC41B1B)
|
||||||
else:
|
else:
|
||||||
await ctx.message.add_reaction(emoji = '✅')
|
await ctx.message.add_reaction(emoji = '✅')
|
||||||
await ctx.send('', embed = halp)
|
await ctx.send('', embed = halp)
|
||||||
|
|
|
@ -136,4 +136,4 @@ class Internet(commands.Cog):
|
||||||
await ctx.send(embed = embed)
|
await ctx.send(embed = embed)
|
||||||
else:
|
else:
|
||||||
await ctx.message.add_reaction(emoji = '❌')
|
await ctx.message.add_reaction(emoji = '❌')
|
||||||
await ctx.send(f"Désolé mais je n'envois ce genre de message seulement dans les salons NSFW !")
|
await ctx.send(f"Désolé mais je n'envois ce genre de message seulement dans les salons NSFW !")
|
||||||
|
|
|
@ -562,4 +562,4 @@ class Music(commands.Cog):
|
||||||
|
|
||||||
@commands.command(name='lyricsromanized', aliases = ['lr', 'lyricromanized'], hidden = True)
|
@commands.command(name='lyricsromanized', aliases = ['lr', 'lyricromanized'], hidden = True)
|
||||||
async def _lyricsromanized(self, ctx, *, song: str = None):
|
async def _lyricsromanized(self, ctx, *, song: str = None):
|
||||||
await ctx.invoke(self.client.get_command("lyrics"), song = f"{song} romanized" if song else song)
|
await ctx.invoke(self.client.get_command("lyrics"), song = f"{song} romanized" if song else song)
|
||||||
|
|
|
@ -334,4 +334,4 @@ class Utils(commands.Cog):
|
||||||
if user.nick:
|
if user.nick:
|
||||||
return f"{user.nick} ({user.name}#{user.discriminator})"
|
return f"{user.nick} ({user.name}#{user.discriminator})"
|
||||||
else:
|
else:
|
||||||
return f"{user.name}#{user.discriminator}"
|
return f"{user.name}#{user.discriminator}"
|
||||||
|
|
2
main.py
2
main.py
|
@ -177,4 +177,4 @@ def user_or_nick(user):
|
||||||
else:
|
else:
|
||||||
return f"{user.name}#{user.discriminator}"
|
return f"{user.name}#{user.discriminator}"
|
||||||
|
|
||||||
client.run(token)
|
client.run(token)
|
||||||
|
|
|
@ -3,4 +3,4 @@ async-timeout==3.0.1 # discord
|
||||||
pytz==2020.4 # timezone
|
pytz==2020.4 # timezone
|
||||||
praw==7.1.0 # reddit
|
praw==7.1.0 # reddit
|
||||||
youtube-dl==2020.11.17 # music
|
youtube-dl==2020.11.17 # music
|
||||||
git+https://github.com/johnwmillr/LyricsGenius.git # lyrics
|
git+https://github.com/johnwmillr/LyricsGenius.git # lyrics
|
||||||
|
|
Reference in a new issue