aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2021-02-06 18:21:55 +0200
committerGravatar GitHub <[email protected]>2021-02-06 18:21:55 +0200
commit691f2393f0fed5d17ec641d5006ea2e486015614 (patch)
tree7d4d51c23c7b80204422c7720d671b9389a28432
parentAdd missing 'a' article in local-file tag (diff)
Remove unnecessary period from local-file tag
-rw-r--r--bot/resources/tags/local-file.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/resources/tags/local-file.md b/bot/resources/tags/local-file.md
index 29fce3ff5..fdce5605c 100644
--- a/bot/resources/tags/local-file.md
+++ b/bot/resources/tags/local-file.md
@@ -8,7 +8,7 @@ with open("/this/is/path/to/my/file.png", "rb") as f:
file = discord.File(f)
```
When using the file-like object, you have to open it in `rb` mode. Also, in this case, passing filename to it is not necessary.
-Please note that `filename` can't contain underscores. This is a Discord limitation..
+Please note that `filename` can't contain underscores. This is a Discord limitation.
[`discord.Embed`](https://discordpy.readthedocs.io/en/latest/api.html#discord.Embed) instances have a [`set_image`](https://discordpy.readthedocs.io/en/latest/api.html#discord.Embed.set_image) method which can be used to set an attachment as an image:
```py