UNPKG
telegram-node-bot
Version:
latest (4.0.5)
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.0.12
3.0.11
3.0.10
3.0.9
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.1.3
2.1.2
2.1.1
2.1.0
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.0.2
1.0.1
1.0.0
Module for creating Telegram bots.
github.com/Naltox/telegram-node-bot
Naltox/telegram-node-bot
telegram-node-bot
/
lib
/
routing
/
commands
/
AnyCommand.js
22 lines
(18 loc)
•
319 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
'use strict'
const
BaseCommand
=
require
(
'./BaseCommand'
)
class
AnyCommand
{
/** *
@param
{
Scope
}
scope
*
@returns
{
boolean
} */
test
(
scope
) {
return
true
}
/** *
@returns
{
string
} */
get
handlerName
() {
return
'handle'
} }
module
.
exports
=
AnyCommand