IRC Info command by basil-squared · Pull Request #136 · allthingslinux/tux

@@ -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))