From 24e35a2b915bf9d387096d03d3fe56b304598fd0 Mon Sep 17 00:00:00 2001
From: anima
Date: Sat, 20 Nov 2021 19:16:42 +0100
Subject: [PATCH] add list of connected servers on startup
---
main.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/main.py b/main.py
index 808a25d..65b0445 100644
--- a/main.py
+++ b/main.py
@@ -32,6 +32,9 @@ with open("bot.conf", 'r') as f:
async def on_ready():
print('Logged in as {0.user}'.format(client))
+ for guild in client.guilds:
+ print(f'Connect to Server {guild.name} (id: {guild.id})')
+
@client.event
async def on_message(message):
if message.author == client.user: