Skip to content

Commit

Permalink
Add install and examples to readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyscripts authored Mar 29, 2022
1 parent 1a3e27e commit 5b212c0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
# discord.py-self_embed
A way for selfbots to send embeds again.

### Install
> ```bash
> $ pip install discord_self_embed
> ```
### Example
> ```python
> import discord_self_embed
>
> embed = discord_self_embed.Embed("discord.py-self_embed",
> description="A way for selfbots to send embeds again.",
> colour="ff0000",
> url="https://github.com/bentettmar/discord.py-self_embed"
> )
> embed.set_author("Ben Tettmar")
>
> url = embed.generate_url(hide_url=True) # You can also convert the embed to a string.
> print(url) # The url will be put in your ctx.send() content.
> ```

0 comments on commit 5b212c0

Please sign in to comment.