Added single-threaded and multi-threaded example
This commit is contained in:
parent
da6abceed2
commit
040426a63c
9 changed files with 110 additions and 15 deletions
10
tests/autoload.php
Normal file
10
tests/autoload.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
// Import ncc
|
||||
require 'ncc';
|
||||
|
||||
import('net.nosial.tgbotlib');
|
||||
|
||||
// Require commands & event handlers
|
||||
require 'commands' . DIRECTORY_SEPARATOR . 'StartCommand.php';
|
||||
require 'commands' . DIRECTORY_SEPARATOR . 'HashCommand.php';
|
Loading…
Add table
Add a link
Reference in a new issue