consistent doc string styling

This commit is contained in:
LBlend committed 2022-11-17 03:42:05 +01:00
1 parent 0795c4d4f8
commit 1c7649faed
2 files changed
+2 -7

No files matched your search

+1 -4
View File
@@ -18,9 +18,7 @@ class BotInfo(commands.Cog):
@app_commands.checks.cooldown(1, 2)
@app_commands.command()
async def botinfo(self, interaction: discord.Interaction):
"""
Viser informasjon om bot
"""
"""Viser informasjon om bot"""
# Dev user info
dev = await self.bot.fetch_user(170506717140877312)
@@ -123,7 +121,6 @@ class BotInfo(commands.Cog):
----------
(str) The bot's uptime in human readable format
"""
now = time()
diff = int(now - self.bot.uptime)
days, remainder = divmod(diff, 24 * 60 * 60)
+1 -3
View File
@@ -157,9 +157,7 @@ class Misc(commands.Cog):
@app_commands.checks.cooldown(1, 5)
@app_commands.command()
async def match(self, interaction: discord.Interaction, bruker: discord.Member):
"""
Se hvor mye du matcher med en annen
"""
"""Se hvor mye du matcher med en annen"""
if bruker == interaction.user:
embed = embed_templates.error_warning(
interaction, text="Jeg vet du er ensom, men du kan " "ikke matche med deg selv"