izikdepth / dandelion_bot Goto Github PK
View Code? Open in Web Editor NEWCustom made bot for the dandelion blockchain project.
Custom made bot for the dandelion blockchain project.
# dandelion_bot# To run the bot, for the repo and put the bot token , admin id and channel id (for alerting members whose dm are closed) after that run ```python3 DDLN.py``` on linux or ```python DDLN.py``` on windows to start the bot. This bot is an faq bot that also receives emails from members of a discord and sends those emails to the dm of the admin of the project. It checks every two weeks for members who haven't given their emails to the bot and ask them for it. Members can use command "/stop" to stop receiving notifications to send emails. ###installing dependencies### ```pip install -r requirements.txt``` ##serverstats_example.py the serverstats_example code is an example of how you can display the price of a coin/token over a discord channel. ##serverstats.py## is the code you'll use in a Cog to display the price/marketcap/hashrate of a coin /token over a discord channel ##how to do?## To display the price of a token over a channel in discord: 1. Add the bot to your discord server 2. create a discord voice channel and name it whatever you want 3. click on the channel's settings then click permission 4. in permissions, Allow memebers to "view channel", "send messages", and "read message history". feel free to not allow the rest of the permissions or ignore 5. Save changes 6. Right click on the channel you just created and copy channel id 7. paste the channel id in self.channel_id = " your channel id". you can do this with as many channels as you want. 8. Done. test code
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.