add robot module
This commit is contained in:
@@ -65,3 +65,11 @@ class TelegramBotModuleConfig(models.Model):
|
||||
|
||||
class Meta:
|
||||
abstract = True
|
||||
|
||||
|
||||
class BotUser(models.Model):
|
||||
name = models.CharField(max_length=32)
|
||||
user_id = models.BigIntegerField(db_index=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
Reference in New Issue
Block a user