mirror of
https://github.com/devcode-it/rocketchat-auto-messages
synced 2024-12-12 09:19:15 +01:00
First draft
This commit is contained in:
parent
39dd587542
commit
8c2a62e740
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
config.inc.php
|
||||
*.lock
|
||||
*.phar
|
||||
vendor/
|
5
composer.json
Normal file
5
composer.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"require": {
|
||||
"nategood/httpful": "^0.3.2"
|
||||
}
|
||||
}
|
7
config.example.php
Normal file
7
config.example.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
$users = [
|
||||
'user1' => [
|
||||
'webhook' => 'https://rocketchat.instance.com/hooks/token'
|
||||
]
|
||||
];
|
6
rc-automator.php
Normal file
6
rc-automator.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
include __DIR__.'/vendor/autoload.php';
|
||||
include __DIR__.'/config.inc.php';
|
||||
|
||||
print_r($users);
|
Loading…
Reference in New Issue
Block a user