Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use custom path #8

Closed
ruslanmedia opened this issue Jul 14, 2015 · 1 comment
Closed

Use custom path #8

ruslanmedia opened this issue Jul 14, 2015 · 1 comment

Comments

@ruslanmedia
Copy link

Hi! I want use multiple bots.
I added this to file hook.php
$telegram->addCommandsPath(BASE_PATH.'/Commands/MuzUzBot');
I created file to folder /vendor/longmang/telegram-bot/src/Commands/MuzUzBot and file HelpCommand.php

This command not working :( How to use it?

@sabas
Copy link
Contributor

sabas commented Jul 16, 2015

I simply made two directories with telegram-bot code in it, changing the code of the webhook to point at the subdirectory instead of the root..

noplanman pushed a commit to noplanman/php-telegram-bot that referenced this issue Mar 9, 2016
noplanman pushed a commit that referenced this issue Jun 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants