CHG: Same punctioation for everything

pull/3/head
Kamal Curi 2 years ago
parent 1a81641e39
commit b3ea63d265

@ -148,7 +148,7 @@ async def delete_quote(bot, _id: int=None) -> str:
@client.command(aliases=['qstack']) @client.command(aliases=['qstack'])
async def queue_stack(bot: object) -> str: async def queue_stack(bot: object) -> str:
""" """
Displays the 5 quote history stack Displays the 5 quote history stack.
""" """
return await bot.send('A list of the 5 latest message IDs follows:'\ return await bot.send('A list of the 5 latest message IDs follows:'\
f' `{",".join(str(q) for q in quote_id_stack[-5:])}`') f' `{",".join(str(q) for q in quote_id_stack[-5:])}`')
@ -156,7 +156,7 @@ async def queue_stack(bot: object) -> str:
@client.command(aliases=['qc', 'cquotes']) @client.command(aliases=['qc', 'cquotes'])
async def quote_count(bot: object) -> str: async def quote_count(bot: object) -> str:
""" """
Outputs a quote count from the database Outputs a quote count from the database.
""" """
amount = count_quotes() amount = count_quotes()
msg = f"Quote count: `{amount}`" msg = f"Quote count: `{amount}`"
@ -167,7 +167,7 @@ async def quote_count(bot: object) -> str:
@client.command(aliases=['v', 'version']) @client.command(aliases=['v', 'version'])
async def info(bot: object) -> str: async def info(bot: object) -> str:
""" """
Displays the bot's information Displays the bot's information.
""" """
roles = [r.name for r in bot.author.roles] roles = [r.name for r in bot.author.roles]
PermStatus = False PermStatus = False
@ -193,7 +193,7 @@ async def info(bot: object) -> str:
@client.command(aliases=['w']) @client.command(aliases=['w'])
async def weather(bot: object, *location: str) -> str: async def weather(bot: object, *location: str) -> str:
""" """
Displays the weather information for a given place Displays the weather information for a given place.
""" """
if OW_API_CONFIG['api_id'] == 'no': if OW_API_CONFIG['api_id'] == 'no':
@ -358,7 +358,7 @@ async def news(bot: object, *options: str) -> None:
@client.command(aliases=['nf', 'nfetch']) @client.command(aliases=['nf', 'nfetch'])
async def neofetch(bot: object) -> str: async def neofetch(bot: object) -> str:
""" """
Runs neofetch on the host Runs neofetch on the host.
""" """
os.system('neofetch --stdout --disable gpu --disable shell --disable packages --disable resolution --cpu_temp C > /tmp/neofetch') os.system('neofetch --stdout --disable gpu --disable shell --disable packages --disable resolution --cpu_temp C > /tmp/neofetch')
nfetch = open('/tmp/neofetch', mode='r') nfetch = open('/tmp/neofetch', mode='r')

Loading…
Cancel
Save