Steemit to Discord Bot for Minnows

in #utopian-io6 years ago (edited)

New Projects

I remember my first time. I was writing nice content but hardly anyone saw it.

I thought of writing a bot code for Minnows to share in over 35 (-only- public promo) channels on Discord

cover2.jpg

Technology Stack

Python 2.7 with these modules:

  • win32api,win32con
  • time
  • os
  • requests
  • pyperclip
  • Tkinter
  • PIL
  • win32gui

For a good looking interface and User eXperience we are using TkInter (remember this is for Minnows)
Please be carreful, its modul name can be different for each Python versions


def wquit():
..
def SendtoStrBox(sunu):
..
def Startd():
..
def Stopd():
..
def BoxPlace(event):
..
def ReadUser():
..
sbox = Tk()
..
''' Pillow and TkInter together '''
photo = PhotoImage(file="back.gif")
label = Label(image=photo); label.place(x=0, y=0)
..
startBtn = Button(image=symimage1,command= Startd); startBtn.place(x=290, y=80)
..
def bringFront():
..

and we start to run SteemitToDicord(username) with TkInter's Start button
wee need our lastest post's url
we are using request module and some helping functions like as Between() for that


def SteemitToDicord(username):
..
comepage = requests.get(st_url)
..

and after controls


for k in channel_list:
..
os.startfile(link)
..
Cliq(660,520); time.sleep(6)
..
PressHoldRelease('ctrl','v') ; Press('enter')

dis.jpg

Roadmap

(Multi) thread for next version. TkInter better with (multi) thread againt to freezing

How to contribute?

You can open pull requests for bugs and/or features like as (multi) threading or others. You can contact to me via Discord > MuratTatar#7991 or better; comments in here.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @codingdefined, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

Nice work!! 257% upvoted Thanks!

Your Post Has Been Featured on @Resteemable!
Feature any Steemit post using resteemit.com!
How It Works:
1. Take Any Steemit URL
2. Erase https://
3. Type re
Get Featured Instantly � Featured Posts are voted every 2.4hrs
Join the Curation Team Here | Vote Resteemable for Witness

emeğine sağlık. yararlı. :)

Hey @murattatar I am @utopian-io. I have just upvoted you!

Achievements

  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Your Post Has Been Featured on @Resteemable!
Feature any Steemit post using resteemit.com!
How It Works:
1. Take Any Steemit URL
2. Erase https://
3. Type re
Get Featured Instantly � Featured Posts are voted every 2.4hrs
Join the Curation Team Here | Vote Resteemable for Witness

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.032
BTC 63376.37
ETH 3089.73
USDT 1.00
SBD 3.82