1
- from os import name
2
1
import discord
3
2
from discord import app_commands
4
3
from discord .ext import commands
@@ -108,18 +107,16 @@ async def member(self, interaction: discord.Interaction, member: discord.Member)
108
107
@group .command (name = "irc" , description = "Shows information about the IRC server" )
109
108
async def irc (self , interaction : discord .Interaction ) -> None :
110
109
embed = self .create_embed (
111
- "IRC Server"
112
- "We have an IRC Server! " ,
110
+ "IRC Server" "We have an IRC Server! " ,
113
111
)
114
112
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" )
115
114
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 = """
120
117
1. Connect to IRC Server
121
118
2. type /msg NickServ register followed by a password and email address.
122
- 3. Talk!"""
119
+ 3. Talk!""" ,
123
120
)
124
121
embed .set_footer (
125
122
text = f"Requested by { interaction .user .display_name } " ,
@@ -130,6 +127,5 @@ async def irc(self, interaction: discord.Interaction) -> None:
130
127
await interaction .response .send_message (embed = embed )
131
128
132
129
133
-
134
130
async def setup (bot : commands .Bot ) -> None :
135
131
await bot .add_cog (Info (bot ))
0 commit comments