Skip to content

Commit aad2593

Browse files
FluxC0github-actions[bot]
authored andcommitted
[Fix] Linting and formatting via Ruff
1 parent 7d14d3c commit aad2593

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

tux/cogs/utility/info.py

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from os import name
21
import discord
32
from discord import app_commands
43
from discord.ext import commands
@@ -108,18 +107,16 @@ async def member(self, interaction: discord.Interaction, member: discord.Member)
108107
@group.command(name="irc", description="Shows information about the IRC server")
109108
async def irc(self, interaction: discord.Interaction) -> None:
110109
embed = self.create_embed(
111-
"IRC Server"
112-
"We have an IRC Server! ",
110+
"IRC Server" "We have an IRC Server! ",
113111
)
114112
embed.set_author(name="Info", icon_url="https://cdn3.emoji.gg/emojis/3228-info.png")
113+
embed.add_field(name="Information", value="irc.atl.tools, 6697, TLS/SSL, Channel: #general")
115114
embed.add_field(
116-
name="Information", value="irc.atl.tools, 6697, TLS/SSL, Channel: #general"
117-
)
118-
embed.add_field(
119-
name="NickServ Connection Instructions", value="""
115+
name="NickServ Connection Instructions",
116+
value="""
120117
1. Connect to IRC Server
121118
2. type /msg NickServ register followed by a password and email address.
122-
3. Talk!"""
119+
3. Talk!""",
123120
)
124121
embed.set_footer(
125122
text=f"Requested by {interaction.user.display_name}",
@@ -130,6 +127,5 @@ async def irc(self, interaction: discord.Interaction) -> None:
130127
await interaction.response.send_message(embed=embed)
131128

132129

133-
134130
async def setup(bot: commands.Bot) -> None:
135131
await bot.add_cog(Info(bot))

0 commit comments

Comments
 (0)