Teleseed tutorial (part 2): Running the bot

This is the second part of a tutorial: How-to create your own bot using TeleSeed.
Teleseed is an advance Group Administration Bot based on yagop telegram-bot licensed under GNU General Public License.

This tutorial is divided in three parts:

It’s very easy, and it will help you managing your groups. The official bot is @teleseed, and you can follow its channel in @teleseedch and read news about the bot. Let’s start!

PART 2: RUNNING THE BOT

Follow this three steps to run the bot:

RUNNING THE BOT

SETTING UP

PREVENTING C9 HIBERNATION

RUNNING BOT

To Run bot from a terminal just type this commands:

  1. cd
  2. cd workspace
  3. cd TeleSeed
  4. ./launch.sh

Now, your bot will be running in terminal

SETTING UP BOT

This step is compulsory, because if you don’t do that, you won’t have permission to some commands.

  1. Open TeleSeed folder in Navigation menu, then open data folder and then config.lua.
  2. This file has got ID’s of Telegram of allowed people to use the bot. You will see 2 IDs, delete them and put yours. If you need help to find your ID, find anyone with a bot, and ask them for your ID.
  3. Now, restart bot.

 

This step is optional, but compulsory if you want to use your bot account to control the same bot

  1. Open TeleSeed folder, then bot folder, and finally seedbot.lua.
  2. Now, change in lines 47 and 73, the false for a true.seedbot lua teleseed
  3. Then, restart the bot

PREVENTING C9 HIBERNATION

This step is optional, but it will help you to prevent to C9 hibernate your bot due to inactivity.

  1. Open plugins folder in TeleSeed folder, and create a new file called isup.lua.
  2. Copy-Paste the code of this website: lua
  3. Then, in data folder, open config.lua and, in this list, add: “isup.lua”, and a comma next to the latest plugin.config lua bot teleseed
  4. Now, restart the bot, and, ina group with the bot, type

    !isup cron (your bot website).

  5. Now, bot will check every 5 minutes if it’s up.
  1. You can also run it like that:

Right click on launch.sh, and then ‘Run’. It will run it as an Application, and it’s easier that type it in a terminal.

Now, you have your own bot on Telegram using Teleseed!

In the next tutorial we will show you how to manage the bot via commands.

Geeks Channel
Follow us on Telegram Geeks Channel.

35 Responses

  1. Avatar Ramsox says:

    What do you mean here ? If you need help to find your ID, find anyone with a bot, and ask them for your ID.
    Am stuck .
    Can you give a simple explanation ? thank you

  2. Avatar Shev says:

    Having problems with the PREVENTING C9 HIBERNATION part.

  3. Avatar Isw STA97 says:

    why this is happened ?

    Not valid: msg from us
    [09:40] Bidang KB Kanwil Jaksus Isw STA/97 >>> !id

    and what the solution ? also, where can I know what my ID is ?

    thank you very much

  4. Avatar reza says:

    Telegram-cli version 1.3.3, Copyright (C) 2013-2015 Vitaly Valtman
    Telegram-cli comes with ABSOLUTELY NO WARRANTY; for details type `show_license’.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show_license’ for details.
    Telegram-cli uses libtgl version 2.0.3
    Telegram-cli includes software developed by the OpenSSL Project
    for use in the OpenSSL Toolkit. (http://www.openssl.org/)
    Telegram-cli uses libpython version 3.5.1
    I: config dir=[/home/ubuntu/.telegram-cli]
    Can’t connect with Redis, install/configure it!
    Redis addr: 127.0.0.1
    Redis port: 6379
    Allowed user: 110626080
    Allowed user: 103649648
    Allowed user: 111020322
    Allowed user: 197246658
    Allowed user: 131681931
    Loading plugin onservice
    Loading plugin inrealm
    Loading plugin ingroup
    Loading plugin inpm
    Loading plugin banhammer
    Loading plugin stats
    Loading plugin anti_spam
    Loading plugin owners
    Loading plugin arabic_lock
    Loading plugin set
    Loading plugin get
    Loading plugin broadcast
    Loading plugin download_media
    Loading plugin invite
    Loading plugin all
    Loading plugin leave_ban
    >
    ………………………………………………………………………………………………………
    what should i do and i am not bot admin i type !plugins and bot says This plugin requires privileged user and how can i create group and bot ansewr some commands likes !google

  5. Avatar reza says:

    Can’t connect with Redis, install/configure it!
    pleaseeeeeeeeeeeeeeeeeee
    help meeeeeeeeee

  6. Avatar Adnan says:

    Why this not work in Supergroup?!

  7. Avatar ali says:

    how can i restart mybot?

    • Avatar Dale Pothen says:

      Run launch.sh again if issue u can close all the open new terminal the check which folder ur in if workspace the continue cd teleseed..
      cd
      cd workspace
      cd TeleSeed
      ./launch.sh

  8. Avatar Dale Pothen says:

    Im having a problem with c9 hibernation can any help me out did all the step but i didnt understand this part !isup cron (your bot website). Can some show an example so i can understand bit more clear

  9. Avatar poorya says:

    hello how i fix this error?
    Not valid: msg from us

    please halpme

  10. Avatar Joeru says:

    i have the same problem, c9 put my teleseed in hibernation, if i want to restart it i have to go to c9 and press “RUN” again

  11. Avatar Nooh Studio says:

    How can i restart bot !
    and how can i added it to my group !
    i cant find it in search !!

  12. Avatar reza says:

    hello, my robot worked well in my supergroup but when my supergroup going ueper than 200 members robot has been crash and stop .
    i should open the telegram robot account online all time to robot do work well , so what happen?
    what should id right now ?

  13. Avatar Descanso says:

    I don’t understand how to do that “Now, restart the bot, and, ina group with the bot, type
    !isup cron (your bot website).”
    How can I add my bot to my group?

  14. Avatar Patrick Witkamp says:

    Hi,

    I’m lost here:

    Now, restart the bot, and, in a group with the bot, type
    !isup cron (your bot website)

    In a group with the bot? How can I find the bot I created so I can add it to a group?

    Is the name of the bot I created the Project name or is it @TeleSeed which I have to add?

    I’m confused here what to do and how to add it to a group..

    Please advice, thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.