Giter Site home page Giter Site logo

safuuinfosdiscord's Introduction

SafuuInfosDiscord

A discord bot made in python to help manage a multi-user wallet

In this project i'll use ⛨ as the symbol for SAFUU

Features

Manage multiple users sharing 1 wallet

Automaticaly recalculate ratio owned on withdraw / add of safuu

Capture d’écran 2022-04-20 000236 Display infos in status : can either display global wallet value :

Capture d’écran 2022-04-20 000300

or the benefits related to invested amount :

Capture d’écran 2022-04-20 000320

HOW TO SETUP

This guide will assume you have python and pip installed if you don't, please install it

run this to install requirements :

pip install discord
pip install requests
pip install json
pip install web3
pip install asyncio

you'll need a discord bot account, the required scope is bot permissions are Send Messages,Change Nickname follow this steps https://discordpy.readthedocs.io/en/stable/discord.html then once the bot account is created come back

you will also need a coinmarketcap api key, https://coinmarketcap.com/api/

Once the bot account created get his token (it can be found on the "Bot" page of discord dev's interface)

open main.py and replace <YOUR_DISCORD_TOKEN> by your discord token

in main.py replace <YOUR_COINMARKETCAP_API> by your coinmarketcap api key

open an Command Line Interface in the folder where main.py is located

in that CLI type python3 main.py

then follow the instructions

if you have any problem please open an issue

if you want to do any tips you can to this address : 0x0d004dc793b724490B192002cD76Ec0Cf43AD87C

COMMANDS

$help : show commands

$rich : show your current balance

$retire : withdraw money from your wallet

$add : add money to your wallet

$parts : show the part of each user

$refresh : refresh the datas

$fiat : change the fiat

$gain : switch the value shown in status between the gain and the global value

safuuinfosdiscord's People

Contributors

balaurent avatar

Stargazers

 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.