Skip to content

Commit 5b212c0

Browse files
authored
Add install and examples to readme.
1 parent 1a3e27e commit 5b212c0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
11
# discord.py-self_embed
22
A way for selfbots to send embeds again.
3+
4+
### Install
5+
> ```bash
6+
> $ pip install discord_self_embed
7+
> ```
8+
9+
### Example
10+
> ```python
11+
> import discord_self_embed
12+
>
13+
> embed = discord_self_embed.Embed("discord.py-self_embed",
14+
> description="A way for selfbots to send embeds again.",
15+
> colour="ff0000",
16+
> url="https://github.com/bentettmar/discord.py-self_embed"
17+
> )
18+
> embed.set_author("Ben Tettmar")
19+
>
20+
> url = embed.generate_url(hide_url=True) # You can also convert the embed to a string.
21+
> print(url) # The url will be put in your ctx.send() content.
22+
> ```

0 commit comments

Comments
 (0)