Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
|
@@ -388,8 +388,11 @@ async def check_github():
|
|
| 388 |
@bot.event
|
| 389 |
async def on_ready():
|
| 390 |
print('Logged on as', bot.user)
|
| 391 |
-
|
| 392 |
-
|
|
|
|
|
|
|
|
|
|
| 393 |
|
| 394 |
|
| 395 |
def run_bot():
|
|
|
|
| 388 |
@bot.event
|
| 389 |
async def on_ready():
|
| 390 |
print('Logged on as', bot.user)
|
| 391 |
+
test_server = os.environ.get('TEST_SERVER')
|
| 392 |
+
if test_server == 'True':
|
| 393 |
+
bot.log_channel = bot.get_channel(1163549565270622229) # test server
|
| 394 |
+
if test_server == 'False':
|
| 395 |
+
bot.log_channel = bot.get_channel(1036960509586587689) # admin-logs
|
| 396 |
|
| 397 |
|
| 398 |
def run_bot():
|