Python Message Send Bot to Multiple Platforms

avatar
(Edited)

$.jpg

Repository

https://github.com/izzetemredemir/message-sender

Introduction

I made a bot with python . It shares free games on Steam, Origin, Humblebundle, Epicgames etc. It sends posts to ; **Steem ** ,Twitter , Telegram , Discord , Mastodon . So I shared codes in Github.
Especially I think Discord function is very useful . Because ; I tried to find send message without any command to all discord servers but I could't find the answer anywhere. So dc.py contains this code. You can send message to all discord servers which are added your bot and select text channel.

Requirements

Python 3.x
import telebot
import tweepy
import steembase
from steem import Steem
from mastodon import Mastodon
import discord
from discord.ext import commands
import asyncio

New Features

It shares free game news on many different platforms.
It sends post to Steem ,Twitter , Telegram , Discord , Mastodon

Code Example

(codeexample.jpg

How it works ?

Firstly , you need api keys . You must create them these platforms developer pages.
After that you can call the functions

Contact

https://twitter.com/iemredemircom

GitHub Account

https://github.com/izzetemredemir/

Türkçe

Daha öncesinde ücretli olup kısa bir süreliğine ücretsiz olan oyunları paylaşan bir bot yaptım . team, Origin, Humblebundle, Epicgames gibi platformlarda ücretsiz olan bir oyun olduğunda **Steem ** ,Twitter , Telegram , Discord , Mastodon üzerinde paylaşıyor. Bende bu projenin kodlarını Githubda paylaştım . Umarım faydalı olur .



0
0
0.000
7 comments
avatar
(Edited)

Hi there,

  • Instructions are not clear for installation and usage.
  • Handling configuration can be better. You can use environment variables, config files instead of expecting users to insert these into the source files.
  • Making this a CLI app and packaging would be better. (setup.py and console script)
  • No requirements.txt. Dependencies are unclear.
  • Adapter design pattern could be followed for such a project like this.
  • I can't see where you detect the free steam games. Title/Description is misleading. This is more like "enter text, send all platforms" kind of script.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

0
0
0.000
avatar

Hi @emrebeyler thank you for your comment . I changed title and added requirements.txt and requirements title . Steam games just a example .

0
0
0.000