Skip to content

Commit 902deb1

Browse files
committed
fix: minimal fix for cloudflare build (we need to rebuild the guide at some point)
1 parent 49841e0 commit 902deb1

File tree

4 files changed

+6
-90
lines changed

4 files changed

+6
-90
lines changed

docs/extensions/commands/help-command.mdx

Lines changed: 6 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -81,23 +81,15 @@ There are two types of built-in help commands:
8181
<DiscordMessage profile="robocord">
8282
<code>
8383
No Category:
84-
8584
<br />
86-
8785
<div style={{ paddingLeft: "2em" }}>
8886
!help Shows this message
89-
9087
<br />
91-
9288
!ping
9389
</div>
94-
9590
<br />
96-
9791
Type !help command for more info on a command.
98-
9992
<br />
100-
10193
You can also type !help category for more info on a category.
10294
</code>
10395
</DiscordMessage>
@@ -122,24 +114,13 @@ There are two types of built-in help commands:
122114
</DiscordMessage>
123115

124116
<DiscordMessage profile="robocord">
125-
Use <code>!help \[command]</code> for more info on a command.
126-
117+
Use <code>!help &#91;command&#93;</code> for more info on a command.
127118
<br />
128-
129-
You can also use <code>!help \[category]</code> for more info on a category.
130-
119+
You can also use <code>!help &#91;category&#93;</code> for more info on a category.
131120
<br />
132-
133121
<br />
134-
135-
<strong>
136-
{" "}
137-
138-
<u>No Category</u>{" "}
139-
</strong>
140-
122+
<strong><u>No Category</u></strong>
141123
<br />
142-
143124
help ping
144125
</DiscordMessage>
145126
</DiscordComponent>
@@ -184,25 +165,14 @@ Finally, we set this as our new help command using `bot.help_command = MyNewHelp
184165
<DiscordComponent>
185166
<DiscordMessage profile="robocord">
186167
<DiscordEmbed>
187-
Use <code>!help \[command]</code> for more info on a command.
188-
168+
Use <code>!help &#91;command&#93;</code> for more info on a command.
189169
<br />
190-
191-
You can also use <code>!help \[category]</code> for more info on a
170+
You can also use <code>!help &#91;category&#93;</code> for more info on a
192171
category.
193-
194172
<br />
195-
196173
<br />
197-
198-
<strong>
199-
{" "}
200-
201-
<u>No Category</u>{" "}
202-
</strong>
203-
174+
<strong><u>No Category</u></strong>
204175
<br />
205-
206176
help ping
207177
</DiscordEmbed>
208178
</DiscordMessage>

docs/extensions/commands/prefixed-commands.mdx

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -119,59 +119,40 @@ various advantages, such as:
119119
<DiscordMessage profile="bob">
120120
!ping
121121
</DiscordMessage>
122-
123122
<DiscordMessage profile="robocord">
124123
Pong!
125124
</DiscordMessage>
126-
127125
<DiscordMessage profile="bob">
128126
!announce Hello Hello World!
129127
</DiscordMessage>
130-
131128
<DiscordMessage profile="robocord">
132129
<strong>Hello</strong>
133-
134130
<br />
135-
136131
Hello World!
137132
</DiscordMessage>
138-
139133
<DiscordMessage profile="bob">
140134
!pycord
141135
</DiscordMessage>
142-
143136
<DiscordMessage profile="robocord">
144137
Unknown command.
145138
</DiscordMessage>
146-
147139
<DiscordMessage profile="bob">
148140
!help
149141
</DiscordMessage>
150-
151142
<DiscordMessage profile="robocord">
152143
<code>
153144
No Category:
154-
155145
<br />
156-
157146
<div style={{ paddingLeft: "2em" }}>
158147
!help Shows this message
159-
160148
<br />
161-
162149
!ping
163-
164150
<br />
165-
166151
!announce
167152
</div>
168-
169153
<br />
170-
171154
Type !help command for more info on a command.
172-
173155
<br />
174-
175156
You can also type !help category for more info on a category.
176157
</code>
177158
</DiscordMessage>
@@ -226,35 +207,24 @@ bot.run("token") # Run the bot with your token.
226207
<DiscordMessage profile="bob">
227208
!ping
228209
</DiscordMessage>
229-
230210
<DiscordMessage profile="robocord">
231211
Pong!
232212
</DiscordMessage>
233-
234213
<DiscordMessage profile="bob">
235214
!help
236215
</DiscordMessage>
237-
238216
<DiscordMessage profile="robocord">
239217
<code>
240218
No Category:
241-
242219
<br />
243-
244220
<div style={{ paddingLeft: "2em" }}>
245221
!help Shows this message
246-
247222
<br />
248-
249223
!ping
250224
</div>
251-
252225
<br />
253-
254226
Type !help command for more info on a command.
255-
256227
<br />
257-
258228
You can also type !help category for more info on a category.
259229
</code>
260230
</DiscordMessage>
@@ -314,24 +284,17 @@ Greetings!" Greetings to you all!`.
314284
<DiscordMessage author="Santa Claus" avatar="blue">
315285
!echo #general Holiday Greetings! Greetings to you all!
316286
</DiscordMessage>
317-
318287
<DiscordMessage author="Elf" avatar="red" bot>
319288
<strong>Holiday</strong>
320-
321289
<br />
322-
323290
Greetings! Greetings to you all!
324291
</DiscordMessage>
325-
326292
<DiscordMessage author="Mrs. Claus" avatar="green">
327293
!echo #general "Holiday Greetings!" Greetings to you all!
328294
</DiscordMessage>
329-
330295
<DiscordMessage author="Elf" avatar="red" bot>
331296
<strong>Holiday Greetings!</strong>
332-
333297
<br />
334-
335298
Greetings to you all!
336299
</DiscordMessage>
337300
</DiscordComponent>

docs/getting-started/creating-your-first-bot.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ bot.run(os.getenv('TOKEN')) # run the bot with the token
148148
hello
149149
</DiscordInteraction>
150150
</div>
151-
152151
Hey!
153152
</DiscordMessage>
154153
</DiscordComponent>

docs/getting-started/more-features.mdx

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -80,29 +80,23 @@ enabling your bot to lay out messages with a lot of text into neat fields.
8080
<DiscordMessage author="Guide Bot" avatar="red" bot>
8181
<DiscordEmbed embedTitle="Pycord Guide" url="https://guide.pycord.dev" authorIcon="/img/logo.png" authorName="Pycord Team" authorUrl="https://github.com/Pycord-Development/guide" thumbnail="/img/logo.png" borderColor="#5865F2" timestamp="01/09/2021" footerIcon="/img/logo.png" image="/img/banner-v3.png">
8282
The Pycord Guide is a detailed guide that explains how to use Pycord and all of its features.
83-
8483
<DiscordEmbedFields slot="fields">
8584
<DiscordEmbedField fieldTitle="Getting Started">
8685
The <a href="/category/getting-started">Getting Started section</a> explains how you can get a brand new bot created and running from scratch.
8786
</DiscordEmbedField>
88-
8987
<DiscordEmbedField fieldTitle="Interactions" inline="true">
9088
<a href="/interactions">Interactions</a> with Pycord
9189
</DiscordEmbedField>
92-
9390
<DiscordEmbedField fieldTitle="Extensions" inline="true">
9491
Pycord's various <a href="/category/extensions">Extensions</a>
9592
</DiscordEmbedField>
96-
9793
<DiscordEmbedField fieldTitle="Popular Topics" inline="true">
9894
<a href="/category/popular-topics">Other Popular Topics</a>
9995
</DiscordEmbedField>
100-
10196
<DiscordEmbedField fieldTitle="And More!">
10297
We have so much more! Just explore, and you will find everything you need. If you want another page added, open an issue on the <a href="https://github.com/Pycord-Development/guide">GitHub</a>.
10398
</DiscordEmbedField>
10499
</DiscordEmbedFields>
105-
106100
<span slot="footer">Created with 💖 by the Pycord Team & Contributors</span>
107101
</DiscordEmbed>
108102
</DiscordMessage>
@@ -145,22 +139,17 @@ bot.run("TOKEN")
145139
<div slot="interactions">
146140
<DiscordInteraction author="Guide Man" avatar="green" command>hello</DiscordInteraction>
147141
</div>
148-
149142
Hello! Here's a cool embed.
150-
151143
<DiscordEmbed embedTitle="My Amazing Embed" authorIcon="/img/logo.png" authorName="Pycord Team" authorUrl="https://github.com/Pycord-Development/guide" thumbnail="/img/logo.png" borderColor="#5865F2" footerIcon="/img/logo.png" image="/img/banner-v3.png">
152144
Embeds are super easy, barely an inconvenience.
153-
154145
<DiscordEmbedFields slot="fields">
155146
<DiscordEmbedField fieldTitle="A Normal Field">
156147
A really nice field with some information. <strong>The description as well as the fields support markdown!</strong>
157148
</DiscordEmbedField>
158-
159149
<DiscordEmbedField fieldTitle="Inline Field 1" inline="true">Inline Field 1</DiscordEmbedField>
160150
<DiscordEmbedField fieldTitle="Inline Field 2" inline="true">Inline Field 2</DiscordEmbedField>
161151
<DiscordEmbedField fieldTitle="Inline Field 3" inline="true">Inline Field 3</DiscordEmbedField>
162152
</DiscordEmbedFields>
163-
164153
<span slot="footer">Footer! No markdown here.</span>
165154
</DiscordEmbed>
166155
</DiscordMessage>
@@ -343,31 +332,26 @@ and keep in mind that embed title and filed names will always show in **bold**.
343332
<td>No</td>
344333
<td>No</td>
345334
</tr>
346-
347335
<tr>
348336
<td>Embed Title</td>
349337
<td>Yes</td>
350338
<td>No</td>
351339
</tr>
352-
353340
<tr>
354341
<td>Embed Description</td>
355342
<td>Yes</td>
356343
<td>Yes</td>
357344
</tr>
358-
359345
<tr>
360346
<td>Field Name</td>
361347
<td>Yes</td>
362348
<td>No</td>
363349
</tr>
364-
365350
<tr>
366351
<td>Field Value</td>
367352
<td>Yes</td>
368353
<td>Yes</td>
369354
</tr>
370-
371355
<tr>
372356
<td>Embed Footer</td>
373357
<td>No</td>

0 commit comments

Comments
 (0)