From 8fdb52f9a30a17f6c424b57128c005f273140a14 Mon Sep 17 00:00:00 2001
From: yanglc <65783234+yangliuchang@users.noreply.github.com>
Date: Tue, 22 Jun 2021 22:58:37 +0800
Subject: [PATCH] Add files via upload
---
README.MD | 1 +
bot.py | 2 +-
config.json | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.MD b/README.MD
index fb3f6ab..80cf928 100644
--- a/README.MD
+++ b/README.MD
@@ -47,6 +47,7 @@
"ADMINS": [*你的 telegram 数字 id]
},
"VM": {
+ "DISK_SIZE_DEFAULT": *默认磁盘大小,
"LOCATIONS": {
"*创建虚拟机时显示的地区": "*可根据需求编辑",
"美国中": "centralus",
diff --git a/bot.py b/bot.py
index 76add61..9102163 100644
--- a/bot.py
+++ b/bot.py
@@ -119,7 +119,7 @@ def start(m):
types.InlineKeyboardButton(text='管理实例', callback_data='mvm::')
)
bot.send_message(
- text=f'欢迎使用 {BOT_NAME}\n'
+ text=f'欢迎使用 {BOT_NAME}\n'
f'你可以管理 Azure 账号,创建实例,更换 IP 等\n\n'
f'请选择你要进行的操作:',
chat_id=m.from_user.id,
diff --git a/config.json b/config.json
index 93af1c2..b404c39 100644
--- a/config.json
+++ b/config.json
@@ -5,6 +5,7 @@
"ADMINS": []
},
"VM": {
+ "DISK_SIZE_DEFAULT": 64,
"LOCATIONS": {
"美国中": "centralus",
"美国东": "eastus",