diff --git a/README.md b/README.md index 8253bca9..f72eff23 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This is a Discord bot written in Python, with the purpose of providing an overview of the financial markets discussed on Twitter. The bot is able to distuingish multiple markets based on the tickers mentioned in the tweets and provides detailed information of the financial data discussed in a Tweet. Below you can view what this bot does with a financial tweet. -
Tweet Embed
+
Tweet Embed
## Important To run this bot you need to host it yourself, meaning that you should have something that functions as a server. I use my Raspberry PI for this, but there are many other options available for hosting a Discord bot, such as virtual private servers provided by Google, Amazon, Microsoft, and more. @@ -89,7 +89,7 @@ Or follow these written instructions: - Invite the bot to your server. Then you need to add the custom emojis to the server (can be skipped). -- Download the custom emoji pictures [here](https://github.com/StephanAkkerman/FinTwit_Bot/tree/main/emojis). +- Download the custom emoji pictures [here](https://github.com/StephanAkkerman/FinTwit_Bot/tree/main/img/emojis). - Add them to your server ([instructions](https://support.discord.com/hc/en-us/articles/360036479811-Custom-Emojis)). - You can add any exchange emoji, for instance FTX, as long as the image is supported by Discord and the name is the same name as the exchange. diff --git a/emojis/binance.png b/img/emojis/binance.png similarity index 100% rename from emojis/binance.png rename to img/emojis/binance.png diff --git a/emojis/kucoin.png b/img/emojis/kucoin.png similarity index 100% rename from emojis/kucoin.png rename to img/emojis/kucoin.png diff --git a/emojis/quote_tweet.png b/img/emojis/quote_tweet.png similarity index 100% rename from emojis/quote_tweet.png rename to img/emojis/quote_tweet.png diff --git a/emojis/reply.png b/img/emojis/reply.png similarity index 100% rename from emojis/reply.png rename to img/emojis/reply.png diff --git a/emojis/retweet.png b/img/emojis/retweet.png similarity index 100% rename from emojis/retweet.png rename to img/emojis/retweet.png diff --git a/img/tweet_example.png b/img/examples/tweet_example.png similarity index 100% rename from img/tweet_example.png rename to img/examples/tweet_example.png diff --git a/img/icons/coingecko.ico b/img/icons/coingecko.ico new file mode 100644 index 00000000..f20db846 Binary files /dev/null and b/img/icons/coingecko.ico differ diff --git a/img/icons/coingecko.png b/img/icons/coingecko.png deleted file mode 100644 index 1c656aac..00000000 Binary files a/img/icons/coingecko.png and /dev/null differ diff --git a/src/cogs/loops/nfts.py b/src/cogs/loops/nfts.py index b6265f19..5152be54 100644 --- a/src/cogs/loops/nfts.py +++ b/src/cogs/loops/nfts.py @@ -198,11 +198,9 @@ async def gc_trending(self): inline=True, ) - file = discord.File("img/icons/coingecko.png", filename="coingecko.png") - e.set_footer( text="\u200b", - icon_url="attachment://coingecko.png", + icon_url="https://github.com/StephanAkkerman/fintwit-bot/blob/main/img/icons/coingecko.ico", ) await self.trending_channel.send(embed=e)