Sponsored Content
Top Forums Programming Programming a Telegram Bot Using Node-RED, PHP, and MySQL Post 303045171 by RavinderSingh13 on Friday 13th of March 2020 12:59:51 AM
Old 03-13-2020
Quote:
Originally Posted by Neo
Yes, I agree many company will not permit an app like Telegram, especially a big company like yours.On this point, I cannot advise how to proceed because your companies risk management team will set the policy of what can and cannot be done.Always work with your IT risk management team in a step-by-step manner, because they are important partners in IT projects!
Honestly Neo, they allow are not that is secondary for me right now; because let me first learn and automate GOOD stuff which can help people in avoiding monotonous tasks. If I could do in Telegram later I could go for any official communicator which they allow too, more or less logic should be same(though this is a guess).

Any more use cases you could suggest are MOST WELCOME.

Also I am thinking to contribute in our UNIX.com forum's BOT's enhancement too, if you do let me know I could do.
Was thinking of option like (user's last post, user's number of thanks details, user's last login information, give some more basic information to user on BOT itself, give some man page information to user) I am totally OK to help here(whenever I get time); kindly do let me know your views on both the things.


Thanks,
R. Singh

Last edited by RavinderSingh13; 03-13-2020 at 02:25 AM..
This User Gave Thanks to RavinderSingh13 For This Post:
 

7 More Discussions You Might Find Interesting

1. Red Hat

Can't uninstall MYSQL from RED HAT ES

Hi Everyone Could you kindly advise on how I should do a chkconfig and uninstalling mysql rpm on Red hat ES.Please check the errors that I'm getting below. :eek: I need to uninstall MySQL completely from my linux system ver 2.4.21-37 and use the chkconfig command to switch it on... (15 Replies)
Discussion started by: CollenM
15 Replies

2. What is on Your Mind?

Telegram Bots - Bot Code Examples

I'm currently looking into ways to integrate the Telegram API into the forums: Telegram Bots - Bot Code Examples I'm thinking, first off, to use the Telegram API to get forum alerts and notifications (to Bot or Not?). Second, I thinking of ways to more deeply integrate Telegram into the... (5 Replies)
Discussion started by: Neo
5 Replies

3. Web Development

Node.js and mysql - ER_ACCESS_DENIED_ERROR

This problem has been killing me all day, and I cannot solve it. Basically, I am using node.js with the mysql module and it will not connect to the database. Here is the JS code snippet in node.js: app.get("/test", function(req, res) { var mysql = require("mysql"); var con =... (4 Replies)
Discussion started by: Neo
4 Replies

4. Infrastructure Monitoring

Using Node-RED and MQTT to Monitor Server and Application Stats

After setting up MQTT and testing some ESP8266 and ESP32 modules, where I noted that testing in Programming ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages, I was so impressed with MQTT that I installed MQTT on three different computers, instantly and... (2 Replies)
Discussion started by: Neo
2 Replies

5. Programming

Publish and Subscribe to AES-256 Encrypted MQTT Messages to Node-RED from PHP Scripts

Various Node-Red crypto modules do not work with PHP, so to send an encrypted message from a PHP script (in this case from a Ubuntu server) to Node-RED we need our own code. After a few hours of searching, testing various libs, more testing and debugging, I got this PHP to Node-RED code... (0 Replies)
Discussion started by: Neo
0 Replies

6. Programming

Node-RED: Writing MQTT Messages to MySQL DB with UNIX timestamp

First, I want to thank Neo (LOL) for this post from 2018, Node.js and mysql - ER_ACCESS_DENIED_ERROR I could not get the Node-RED mysql module to work and searched Google until all my links were purple! I kept getting ER_ACCESS_DENIED_ERROR with the right credentials. Nothing on the web was... (0 Replies)
Discussion started by: Neo
0 Replies

7. What is on Your Mind?

MQTT, Node-RED, Linux, Apache2, MySQL, PHP, Telegram, ESP32, ESP8266, Arduino

I have just completed the first phase of integrating all these devices and technologies: MQTT, Node-RED, Linux, Apache2, MySQL, PHP, Telegram, ESP32, ESP8266, and the Arduino Uno The glue that binds all this together is MQTT. In fact, MQTT makes this kind of integration nearly trivial to... (1 Reply)
Discussion started by: Neo
1 Replies
IBID.INI(5)						     Ibid - Multi-protocol Bot						       IBID.INI(5)

NAME
ibid.ini - Configuration file for Ibid DESCRIPTION
ibid.ini contains all the configuration for an Ibid bot. A complete description of the contents of this file is out of the scope of this manpage. For more details see the Ibid documentation: http://ibid.omnia.za.net/docs/ Lines beginning with # are considered to be comments and ignored. To use a # symbol in an option (e.g. an IRC channel name), quote the option with double-quotes, e.g. channels="#ibid", This file will be written to by the bot when configuration settings are altered online. It can also be edited manually and a running bot told to "reload config". Manual edits and comments will be preserved when the bot modifies its own configuration, provided that they have not been edited since bot start-up or the last config reload. SECTIONS
auth Settings related to permissions and authentication. Permissions listed in auth.permissions are granted to all users unless revoked by source or account. sources Sources are Ibid connections to an IM service. They range from IRC networks to the bot's built-in HTTP server. Each source is configured in a section named after the source. The source name will define the driver that the source should use, unless a type option is provided. Sources can be disabled by setting disabled=True. plugins Plugin configuration. Each plugin is configured within a section named after the plugin. cachedir The directory that temporary files (such as downloaded data), useful to be the bot but expendable, is stored in. core.autoload If True, all plugins not explicitly ignored will be loaded. (Note that some plugins mark themselves as non-auto-loadable). Defaults to True. core.load The list of plugins (or plugin.Processors) to load. core.noload The list of plugins (or plugin.Processors) to ignore and not load. core.names The names that the bot should respond to. core.ignore Nicks that the bot should completely ignore (e.g. other bots). EXAMPLE
botname = joebot logging = logging.ini [auth] methods = password, timeout = 300 permissions = +factoid, +karma, +sendmemo, +recvmemo, +feeds, +publicresponse [sources] [[telnet]] [[timer]] [[http]] url = http://joebot.example.com [[smtp]] [[pb]] [[atrum]] channels = "#ibid", nick = $botname type = irc auth = hostmask, nickserv server = irc.atrum.org [plugins] cachedir = /tmp/ibid [[core]] names = $botname, bot, ant ignore = , [databases] ibid = sqlite:///ibid.db FILES
logging.ini A standard Python logging.config configuration file describing loggers, handlers, and formatters for log messages. See http://docs.python.org/library/logging.html SEE ALSO
ibid(1), ibid.ini(5), twistd(1), http://ibid.omnia.za.net/ Ibid 0.1 March 2010 IBID.INI(5)
All times are GMT -4. The time now is 04:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy