You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

Telegram bots

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

0
b/Website News publicado por u/Yuki July 06, 2015, 08:11:10 AM
Ever since the founding of CodeWalrus, we've been using Telegram for admin communication and other random stuff among friends, additionally to IRC. Recently, Telegram released an API to easily make bots, since then many of us has been developing our own bots, like Eiyeron's W-800 and my YukiBot. Starting from today, YukiBot added relaying between our IRC channel and a Telegram group we created for that, so you can chat on IRC and our WalrusIRC chatbox from Telegram!

If you have a Telegram account, join the group today and join the fun!
Inicia sesión o crea una cuenta para dejar un comentario
u/aetios July 06, 2015, 01:35:50 PM
This is the most awesome development in bots to day, I think. Awesome job, I was starting to not use IRC as much but now that we have a telegram relay I will probably become way more active again :D

I have a couple suggestions, though, mainly on the telegram side:

o) Let the message start at the username, so filter out the first uhh, 7-something characters; snip off the ' <l|> 4 ' part.
o) Parse Walrified nomifications
o) Get rid off the random color codes
o) On the WIRC side, maybe try making WIRC display the user who sends the message rather than 'YukiTG'. This should be possible as we're already doing that with IRC->WIRC comms.
o) Maybe also try fetching the nickname to display?

Then some other less important-but-still-interesting points
o) re-host telegram images to an image hosting site?
o) maybe same for audio and video? (Not sure how feasible this is. I know however that we have plenty of bandwitdh on the server and also I guess we can reserve some space for images as they aren't that big)
o) Stickers: I guess we can make WIRC display something to indicate there's been a sticker sent to make telegram-sided sticker communications make some sense on the other side.

I guess that's it :P
Again great job, this has been a long living wish of a bunch of us because telegram is just so darn awesome
Last Edit: July 06, 2015, 01:51:51 PM by aeTIos
u/alexgt July 06, 2015, 04:08:42 PM
O.O everyone in IRC is using it :P
u/bb010g July 06, 2015, 04:14:16 PM
Quote from: alexgt on July 06, 2015, 04:08:42 PM
O.O everyone in IRC is using it :P
BWAHAHAHAHAHAHAHAHAHAHAHAHAHA!!!!!
u/Dream of Omnimaga July 06, 2015, 05:09:16 PM
Awesome. I think it was only a matter of time before this happens, considering many of us use Telegram to chat. The bot needs to show forum nicks and be renamed to 2 chars, though, else it's hard to read.
u/Yuki July 06, 2015, 06:17:46 PM
It's pretty much an experiment right now, but glad you like it. You'll understand it misses quite a lot of features right now (I coded this thing at like 3am), don't worry it's planned, like color parsing and photo upload.

Quote from: aeTIos on July 06, 2015, 01:35:50 PM
o) Let the message start at the username, so filter out the first uhh, 7-something characters; snip off the ' <l|> 4 ' part.
Putting the bot on EFNet does help.
Quote from: aeTIos on July 06, 2015, 01:35:50 PM
o) Parse Walrified nomifications
o) On the WIRC side, maybe try making WIRC display the user who sends the message rather than 'YukiTG'. This should be possible as we're already doing that with IRC->WIRC comms.
Integrating it to WIRC should be doable, kinda weirder, though.
Quote from: aeTIos on July 06, 2015, 01:35:50 PM
o) Get rid off the random color codes
Yes, of course.
Quote from: aeTIos on July 06, 2015, 01:35:50 PM
o) Maybe also try fetching the nickname to display?
Piece of cake.

Quote from: aeTIos on July 06, 2015, 01:35:50 PM
Then some other less important-but-still-interesting points
o) re-host telegram images to an image hosting site?
o) maybe same for audio and video? (Not sure how feasible this is. I know however that we have plenty of bandwitdh on the server and also I guess we can reserve some space for images as they aren't that big)
o) Stickers: I guess we can make WIRC display something to indicate there's been a sticker sent to make telegram-sided sticker communications make some sense on the other side.
That would all go to an image hosting site. It's a planned feature.

Yeah, thanks to the new API it was indeed made easier to make such bot.
u/DarkestEx July 06, 2015, 06:57:07 PM
Sounds cool. Can't wait to see that all implemented :)
u/Dream of Omnimaga July 06, 2015, 07:23:36 PM
Audio could go on an audio hosting site maybe?
u/Yuki July 06, 2015, 08:03:51 PM
I'm working on a file hosting site, supports video, audio and everything and it'll be integrated into YukiBot, I'll probably use that.
u/CKH4 July 07, 2015, 03:31:18 AM
Would it be possible to have the telegram bot convert the <name> part of the message to the name column?

Edit. Also it'd be cool if it kept the <> because then we could know if something was from telegram.
Last Edit: July 07, 2015, 04:09:20 AM by CKH4
u/Dream of Omnimaga July 25, 2015, 04:31:19 PM
The bot no longer relays messages between IRC and Telegtam, it seems D: @Juju
Last Edit: July 25, 2015, 04:46:13 PM by DJ Omnimaga
u/Yuki July 27, 2015, 03:44:01 AM
Sorunome rebooted his server just as I was leaving for the weekend (you sly son of a pony :P) (because for some reason I've put it on his server because YukiBot was already there), so I didn't had time to start my services back. I'm going to restart it now.
u/Dream of Omnimaga July 27, 2015, 04:12:18 AM
Yeah I also noticed that my FTP was down for months so I told him, but I only realized that the bots were down much later.

Shouldn't you move the bots to CodeWalrus server instead?
u/Yuki July 27, 2015, 05:06:49 AM
Probably, yes. (And by YukiBot I meant the telegram bot, not the IRC bot, FYI.)
u/Dream of Omnimaga July 27, 2015, 05:45:58 AM
Yeah I know. I still think that all the bots should be hosted on CW server, though.
Start a Discussion

b/Website News

This is where site-specific updates will be posted.

99
Topics
Explore Board
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal