All Projects → edenau → discord-sidebar-price-bot

edenau / discord-sidebar-price-bot

Licence: other
A minimal Discord sidebar price bot (supports forex, crypto, eth gas & fear and greed index)

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to discord-sidebar-price-bot

Fantasyslide
Another sliding menu base on DrawerLayout
Stars: ✭ 1,431 (+3767.57%)
Mutual labels:  sidebar
Rxtool
Android开发人员不得不收集的工具类集合 | 支付宝支付 | 微信支付(统一下单) | 微信分享 | Zip4j压缩(支持分卷压缩与加密) | 一键集成UCrop选择圆形头像 | 一键集成二维码和条形码的扫描与生成 | 常用Dialog | WebView的封装可播放视频 | 仿斗鱼滑动验证码 | Toast封装 | 震动 | GPS | Location定位 | 图片缩放 | Exif 图片添加地理位置信息(经纬度) | 蛛网等级 | 颜色选择器 | ArcGis | VTPK | 编译运行一下说不定会找到惊喜
Stars: ✭ 11,567 (+31162.16%)
Mutual labels:  sidebar
Semantic Ui
Semantic is a UI component framework based around useful principles from natural language.
Stars: ✭ 49,729 (+134302.7%)
Mutual labels:  sidebar
Drawer Behavior Flutter
Drawer behavior is a library that provide an extra behavior on drawer, such as, move view or scaling view's height while drawer on slide.
Stars: ✭ 110 (+197.3%)
Mutual labels:  sidebar
Material Dashboard React
React version of Material Dashboard by Creative Tim
Stars: ✭ 1,947 (+5162.16%)
Mutual labels:  sidebar
Angular Pro Sidebar
Responsive sidebar template with dropdown menu built with angular 7 and bootstrap 4
Stars: ✭ 160 (+332.43%)
Mutual labels:  sidebar
Container Tabs Sidebar
Firefox addon aiming to utilize screen estate more efficiently by showing tabs in a sidebar grouped by privacy containers. Inspired by TreeStyleTab.
Stars: ✭ 87 (+135.14%)
Mutual labels:  sidebar
Amazon-Price-Alert
Price tracker of Amazon
Stars: ✭ 83 (+124.32%)
Mutual labels:  price-tracker
Blazorise
Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Bulma, AntDesign, and Material.
Stars: ✭ 2,103 (+5583.78%)
Mutual labels:  sidebar
Animsidebar
A SiderBar base on Android that has a beautiful anim
Stars: ✭ 220 (+494.59%)
Mutual labels:  sidebar
Zhpopupcontroller
Help you pop up custom views easily. and support pop-up animation, layout position, mask effect and gesture interaction etc.
Stars: ✭ 1,481 (+3902.7%)
Mutual labels:  sidebar
Sidebar
Sidebars for web apps
Stars: ✭ 127 (+243.24%)
Mutual labels:  sidebar
React Adminlte Dash
This project is No Longer Maintained. React implementation of AdminLTE themed dashboard
Stars: ✭ 170 (+359.46%)
Mutual labels:  sidebar
Lmsidebarcontroller
LMSideBarController is a simple side bar controller inspired by Tappy and Simon Hoang.
Stars: ✭ 108 (+191.89%)
Mutual labels:  sidebar
toppy
Overlay library for Angular 7+
Stars: ✭ 81 (+118.92%)
Mutual labels:  sidebar
Overlaycontroller
OverlayController easily pop your custom view and provide optional transition animation. written in swift 5.0
Stars: ✭ 94 (+154.05%)
Mutual labels:  sidebar
Vim Markbar
Display all accessible marks and their surrounding lines in a collapsible sidebar.
Stars: ✭ 159 (+329.73%)
Mutual labels:  sidebar
yugioh-deck-tool
A tool to share and edit decks, view deck prices, and much more.
Stars: ✭ 35 (-5.41%)
Mutual labels:  price-tracker
amazon wishlist pricewatch
Periodically check your public Amazon wishlist for price reductions.
Stars: ✭ 22 (-40.54%)
Mutual labels:  price-tracker
Treestyletab
Tree Style Tab, Show tabs like a tree.
Stars: ✭ 2,438 (+6489.19%)
Mutual labels:  sidebar

discord-sidebar-price-bot

Inspired by pipercucu/DiscordSidebarPriceBot, these Python scripts can run Discord bots that pull live data at intervals and display it on the sidebar of a Discord guild (i.e. server). It currently supports:

  • Cryptocurrency price data (in USD, BTC, and/or ETH) from Coingecko API
  • Gas price of the Ethereum blockchain (in gwei) from Etherscan API
  • Forex price from exchangeratesapi
  • Crypto Fear & Greed Index from Alternate.me API

Dependencies

Recommended Python 3.7, although it should support Python >=3.5 <=3.9. Install all dependencies:

pip install -r requirements.txt

Test & Run

Cryptocurrency Price Bot

  1. Cache the cryptocurrency ticker list from Coincegko by generating a crypto_cache.json file.
python crypto_cache.py -v
  1. Configure crypto_config.yaml using the template provided. It requires a unique Discord bot key and (non-unique) Guild ID per bot. 1 sidebar bot per cryptocurrency (expressed by their ticker e.g. BTC, ETH, YFI). For each cryptocurrency, the price can be shown in USD, BTC, and/or ETH.

  2. Sometimes multiple coins or tokens share the same ticker (e.g. UNI). In this case, modify resolver_ambiguous_ticker() to specify the token you want.

  3. Run a cryptocurrency price bot:

python crypto_run.py -t BTC

Replace the ticker BTC with any cryptocurrency you have configured in Step 2.

Gas Price Bot

  1. Configure gas_config.yaml using the template provided. It requires a unique Discord bot key and (non-unique) Guild ID per bot. It also requires an Etherscan API key if you would like to use Etherscan API.

  2. Run a gas price bot using Etherscan API:

python gas_run.py -s etherscan

Forex Price Bot

  1. Configure forex_config.yaml using the template provided. It requires a unique Discord bot key and (non-unique) Guild ID per bot. 1 sidebar bot per forex pair (expressed by their ticker/ticker e.g. GBP/HKD).

  2. Run a forex price bot:

python forex_run.py -p GBP/HKD

Replace GBP/HKD with any forex pair you have configured in Step 1.

Crypto Fear & Greed Index

  1. Configure cfgi_config.yaml using the template provided. It requires a unique Discord bot key and (non-unique) Guild ID per bot.

  2. Run a bot:

python cfgi_run.py

Deploy

Once you are familiar with running a single sidebar bot, you can run multiple bots concurrently by calling ./bot.sh and kill all bots by calling ./kill.sh. You might want to modify the commands in ./bot.sh to suit your own needs.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].