Skip to content

Use custom path #8

Closed
Closed
@ruslanmedia

Description

@ruslanmedia

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions