mirror of
https://gitlab.com/vylion/velascobot.git
synced 2025-04-19 21:46:35 +02:00
Resolved chat misconfiguration
This commit is contained in:
parent
513f52bf9d
commit
a114f5e254
3 changed files with 1 additions and 5 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -4,5 +4,3 @@ misc/*
|
||||||
bkp/*
|
bkp/*
|
||||||
test/*
|
test/*
|
||||||
*log*
|
*log*
|
||||||
.Admin_id
|
|
||||||
.token
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from logging import Logger
|
|
||||||
import random
|
import random
|
||||||
import time
|
import time
|
||||||
from sys import stderr
|
from sys import stderr
|
||||||
|
@ -318,7 +317,6 @@ class Speaker(object):
|
||||||
|
|
||||||
# Handling /count command
|
# Handling /count command
|
||||||
def get_count(self, update, context):
|
def get_count(self, update, context):
|
||||||
cid = str(update.message.chat.id)
|
|
||||||
chat = update.message.chat
|
chat = update.message.chat
|
||||||
reader = self.load_reader(chat)
|
reader = self.load_reader(chat)
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ try:
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
coloredlogsError = e
|
coloredlogsError = e
|
||||||
|
|
||||||
username = "velaskoespbot"
|
username = "velascobot"
|
||||||
speakerbot = None
|
speakerbot = None
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
Loading…
Reference in a new issue