{"id":15366849,"url":"https://github.com/defidebauchery/discordpricebot","last_synced_at":"2025-04-15T12:33:20.059Z","repository":{"id":191988230,"uuid":"317323648","full_name":"DefiDebauchery/discordpricebot","owner":"DefiDebauchery","description":"Discord Bot for displaying BSC Token Prices","archived":false,"fork":false,"pushed_at":"2021-06-04T19:00:14.000Z","size":53,"stargazers_count":29,"open_issues_count":2,"forks_count":25,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T20:12:06.442Z","etag":null,"topics":["binance-smart-chain","bot","bsc","discord","discord-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DefiDebauchery.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-11-30T19:23:40.000Z","updated_at":"2025-01-03T21:48:53.000Z","dependencies_parsed_at":"2023-09-01T22:39:38.523Z","dependency_job_id":null,"html_url":"https://github.com/DefiDebauchery/discordpricebot","commit_stats":null,"previous_names":["defidebauchery/discordpricebot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefiDebauchery%2Fdiscordpricebot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefiDebauchery%2Fdiscordpricebot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefiDebauchery%2Fdiscordpricebot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefiDebauchery%2Fdiscordpricebot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DefiDebauchery","download_url":"https://codeload.github.com/DefiDebauchery/discordpricebot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249072186,"owners_count":21208130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["binance-smart-chain","bot","bsc","discord","discord-bot"],"created_at":"2024-10-01T13:20:01.034Z","updated_at":"2025-04-15T12:33:20.022Z","avatar_url":"https://github.com/DefiDebauchery.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# discordpricebot\nA Discord Bot for displaying Token Prices on Binance Smart Chain\n\n### About\nThis bot will interface with both Discord and the BSC Network to continually keep a log of token prices.\n\nNote that this will only report the mid-price; buying and selling the tokens will be lower/higher than the listed price.\n\n### Configuration\nSee `config.yaml.example`. The token ticker is the parent key of the configuration.\n\nThe web3 module requires all addresses to be [checksummed](https://coincodex.com/article/2078/ethereum-address-checksum-explained/); you can get the proper address from [BSCScan](https://bscscan.com/).\n\n### Authorizing Discord User\n\n- Visit https://discord.com/developers/applications and create 'New Application'.\n- Set a worthy name\n- On the page that follows, set the account name and save. Then click Bot\n- Create a Bot account and Save. Click 'Copy' on the Token; this is the API Key you use in the bot script\n- Visit the OAuth2 tab. Under Scopes, select 'bot'\n- The resulting URL is what you (or anyone) use to add your bot instance to a server.\n\nA single bot instance can be added to multiple servers; the bot's nickname (the price) will be updated on all registered servers.\n\n### Installation and Execution\nThis assumes you already have python3 and pip3 installed on your system.\n\nInstall the pre-requisites:  \n`pip3 install -r requirements.txt`\n\nDue to limitations in the discord.py module, you cannot run all bots in one instance. \nTherefore, you will need to create a new instance for each token by passing the argument, such as `nohup python3 main.py CAKE \u0026`.\n\n### Contributing\nI need all the help I can get. PRs welcome.\n\n### TODO\n- Error handling (web3 and discord)\n- Better configuration (single entrypoint file referencing external configuration)\n- Recording historical movements in status message\n- Configurable status messages (e.g. comparing CRED price to THUGS value)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefidebauchery%2Fdiscordpricebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefidebauchery%2Fdiscordpricebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefidebauchery%2Fdiscordpricebot/lists"}