Git Product home page Git Product logo

dandelion_bot's Introduction

# 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

dandelion_bot's People

Contributors

izikdepth avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.