mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
consistent doc string styling
This commit is contained in:
2 files changed
+2
-7
No files matched your search
+1
-4
@@ -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
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user