Browse Source

Added .gitignore

master
Luca Mattii 6 years ago
parent
commit
b4f31851c2
  1. 1
      .gitignore
  2. 18
      config.php

1
.gitignore

@ -0,0 +1 @@
config.php

18
config.php

@ -1,18 +0,0 @@
<?php
/* Telegram API URL - this must not be changed */
const API_URL = 'https://api.telegram.org/bot';
/* Your API authorization token */
const API_TOKEN = '';
/* Your channel ID */
const API_CHANNEL_ID = '@golem_empoli';
/* Users whose messages are forwarded to mailing list and channel */
const BOT_ALLOWED_USERS = array ('giomba', 'Lorenzo_Bambi', 'giuliof', 'luca_m', 'giulialy', 'miry_d', 'admdebian');
/* Address to forward to */
const MAIL_TO_ADDR = 'golem@lists.linux.it';
/* Bot email identity */
const MAIL_FROM_ADDR = 'golembot-noreply@golem.linux.it';
/* Debug messages on log file */
const DEBUG = true;
/* Log file name */
const LOGFILE = 'botlog.log';
?>
Loading…
Cancel
Save