Skip to content

Commit

Permalink
[Fix] Linting and formatting via Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
FluxC0 authored and github-actions[bot] committed Apr 3, 2024
1 parent 7d14d3c commit aad2593
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions tux/cogs/utility/info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from os import name
import discord
from discord import app_commands
from discord.ext import commands
Expand Down Expand Up @@ -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}",
Expand All @@ -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))

0 comments on commit aad2593

Please sign in to comment.