Skip to content

Commit 712b4cb

Browse files
committed
"feed" > "scoreboard"
1 parent 48eb08a commit 712b4cb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

cogs/ui.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async def list_scoreboards(self, ctx):
4242

4343
await ctx.send(embed=embed)
4444

45-
async def ask_name(self, ctx, author='Creating new feed... (1/7)'):
45+
async def ask_name(self, ctx, author='Creating new scoreboard... (1/7)'):
4646
embed = discord.Embed(color=discord.Color.from_rgb(66, 66, 66))
4747
embed.set_author(name=author)
4848
embed.add_field(name="What should the scoreboard's name be?", value="Keep it short. 32 characters max.")
@@ -62,7 +62,7 @@ def validate_name():
6262
elif name.lower() == "cancel": return
6363
error = validate_name()
6464
return name
65-
async def ask_channel_id(self, ctx, author='Creating new feed... (2/7)'):
65+
async def ask_channel_id(self, ctx, author='Creating new scoreboard... (2/7)'):
6666
embed = discord.Embed(color=discord.Color.from_rgb(66, 66, 66))
6767
embed.set_author(name=author)
6868
embed.add_field(name="What channel should the scoreboard be in?", value="Must be a text channel the bot can send messages to.")
@@ -86,7 +86,7 @@ async def validate_channel_id(channel_id):
8686
elif channel_id.lower() == "cancel": return
8787
error, channel_id = await validate_channel_id(channel_id)
8888
return channel_id
89-
async def ask_api_url(self, ctx, author='Creating new feed... (3/7)'):
89+
async def ask_api_url(self, ctx, author='Creating new scoreboard... (3/7)'):
9090
embed = discord.Embed(color=discord.Color.from_rgb(66, 66, 66))
9191
embed.set_author(name=author)
9292
embed.add_field(name="What is the link to the Community RCON API?", value="I will retrieve my data through the API provided by the [Community RCON](https://github.com/MarechJ/hll_rcon_tool). A valid URL should look like either `http://<ipaddress>:<port>/api/` or `https://<hostname>/api/`.")
@@ -132,7 +132,7 @@ async def validate_api_url(api_url):
132132
if not api_url.startswith('http://') or not api_url.startswith('https://'): api_url = 'http://' + api_url
133133
error, api_url = await validate_api_url(api_url)
134134
return api_url
135-
async def ask_api_user(self, ctx, author='Creating new feed... (4/7)'):
135+
async def ask_api_user(self, ctx, author='Creating new scoreboard... (4/7)'):
136136
embed = discord.Embed(color=discord.Color.from_rgb(66, 66, 66))
137137
embed.set_author(name=author)
138138
embed.add_field(name="What username should be used to log in to the C.RCON?", value="This is the username that you would use to log in.")
@@ -153,7 +153,7 @@ def validate_api_user():
153153
elif api_user.lower() == "cancel": return
154154
error = validate_api_user()
155155
return api_user
156-
async def ask_api_pw(self, ctx, author='Creating new feed... (5/7)'):
156+
async def ask_api_pw(self, ctx, author='Creating new scoreboard... (5/7)'):
157157
embed = discord.Embed(color=discord.Color.from_rgb(66, 66, 66))
158158
embed.set_author(name=author)
159159
embed.add_field(name="What password should be used to log in to the C.RCON?", value="This is the password that you would use to log in.")
@@ -174,7 +174,7 @@ def validate_api_pw():
174174
elif api_pw.lower() == "cancel": return
175175
error = validate_api_pw()
176176
return api_pw
177-
async def ask_scoreboard_url(self, ctx, author='Creating new feed... (6/7)'):
177+
async def ask_scoreboard_url(self, ctx, author='Creating new scoreboard... (6/7)'):
178178
embed = discord.Embed(color=discord.Color.from_rgb(66, 66, 66))
179179
embed.set_author(name=author)
180180
embed.add_field(name="What link should be used to redirect to the C.RCON's gamescoreboard page?", value="The [Community RCON](https://github.com/MarechJ/hll_rcon_tool) has a public stats page. A valid URL should look like either `http://<ipaddress>:<port>/#/gamescoreboard` or `https://<hostname>/#/gamescoreboard`. This value is OPTIONAL, typing \"none\" will leave it empty.")
@@ -197,7 +197,7 @@ def validate_scoreboard_url():
197197
elif scoreboard_url.lower() == "none": scoreboard_url = ""
198198
error = validate_scoreboard_url()
199199
return scoreboard_url
200-
async def ask_server_id(self, ctx, author='Creating new feed... (7/7)'):
200+
async def ask_server_id(self, ctx, author='Creating new scoreboard... (7/7)'):
201201
embed = discord.Embed(color=discord.Color.from_rgb(66, 66, 66))
202202
embed.set_author(name=author)
203203
embed.add_field(name="What is the server's ID?", value="Required when having multiple servers connected to the [Community RCON](https://github.com/MarechJ/hll_rcon_tool). Check the C.RCON's `.env` file. If only one server is connected this should just be 1.")

0 commit comments

Comments
 (0)