From aad259359c6fbecff83bbfe2f2994ff24f51f000 Mon Sep 17 00:00:00 2001 From: FluxC0 Date: Wed, 3 Apr 2024 19:40:51 +0000 Subject: [PATCH] [Fix] Linting and formatting via Ruff --- tux/cogs/utility/info.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/tux/cogs/utility/info.py b/tux/cogs/utility/info.py index 82503c7c..f02bd496 100644 --- a/tux/cogs/utility/info.py +++ b/tux/cogs/utility/info.py @@ -1,4 +1,3 @@ -from os import name import discord from discord import app_commands from discord.ext import commands @@ -108,18 +107,16 @@ async def member(self, interaction: discord.Interaction, member: discord.Member) @group.command(name="irc", description="Shows information about the IRC server") async def irc(self, interaction: discord.Interaction) -> None: embed = self.create_embed( - "IRC Server" - "We have an IRC Server! ", + "IRC Server" "We have an IRC Server! ", ) embed.set_author(name="Info", icon_url="https://cdn3.emoji.gg/emojis/3228-info.png") + embed.add_field(name="Information", value="irc.atl.tools, 6697, TLS/SSL, Channel: #general") embed.add_field( - name="Information", value="irc.atl.tools, 6697, TLS/SSL, Channel: #general" - ) - embed.add_field( - name="NickServ Connection Instructions", value=""" + name="NickServ Connection Instructions", + value=""" 1. Connect to IRC Server 2. type /msg NickServ register followed by a password and email address. - 3. Talk!""" + 3. Talk!""", ) embed.set_footer( text=f"Requested by {interaction.user.display_name}", @@ -130,6 +127,5 @@ async def irc(self, interaction: discord.Interaction) -> None: await interaction.response.send_message(embed=embed) - async def setup(bot: commands.Bot) -> None: await bot.add_cog(Info(bot))