Set bot path
This commit is contained in:
parent
f474e8ecc3
commit
23aa4157ac
@ -3,6 +3,6 @@
|
||||
__author__ = "Davide Testa"
|
||||
__email__ = "davide@davte.it"
|
||||
__license__ = "GNU General Public License v3.0"
|
||||
__version__ = "1.0.7"
|
||||
__version__ = "1.0.8"
|
||||
__maintainer__ = "Davide Testa"
|
||||
__contact__ = "t.me/davte"
|
||||
|
@ -105,7 +105,7 @@ if __name__ == '__main__':
|
||||
bot = davtelepot.bot.Bot(token=bot_token,
|
||||
database_url='ciclopibot/data/ciclopi.db',
|
||||
hostname=hostname, certificate=certificate)
|
||||
# Assign commands to bot
|
||||
bot.set_path(path)
|
||||
bot.set_unknown_command_message(
|
||||
"Comando sconosciuto!\n"
|
||||
"Scrivi /help per visualizzare la guida."
|
||||
|
Loading…
x
Reference in New Issue
Block a user