Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
deactivate button for now, can fix fully soon
Browse files
app.py
CHANGED
|
@@ -103,6 +103,8 @@ async def on_ready():
|
|
| 103 |
print(f'Logged in as {bot.user.name}')
|
| 104 |
print(f"XP_PER_MESSAGE: {XP_PER_MESSAGE}")
|
| 105 |
|
|
|
|
|
|
|
| 106 |
channel = bot.get_channel(900125909984624713)
|
| 107 |
if channel:
|
| 108 |
try:
|
|
@@ -116,7 +118,10 @@ async def on_ready():
|
|
| 116 |
except discord.NotFound:
|
| 117 |
print(f"Message with ID 1271145797433557023 not found.")
|
| 118 |
except discord.HTTPException as e:
|
| 119 |
-
print(f"Failed to fetch message with ID 1271145797433557023: {e}")
|
|
|
|
|
|
|
|
|
|
| 120 |
|
| 121 |
|
| 122 |
"""import data from google sheets -> HF Space df (doesn't make API call this way, as it's read-only)"""
|
|
|
|
| 103 |
print(f'Logged in as {bot.user.name}')
|
| 104 |
print(f"XP_PER_MESSAGE: {XP_PER_MESSAGE}")
|
| 105 |
|
| 106 |
+
|
| 107 |
+
"""
|
| 108 |
channel = bot.get_channel(900125909984624713)
|
| 109 |
if channel:
|
| 110 |
try:
|
|
|
|
| 118 |
except discord.NotFound:
|
| 119 |
print(f"Message with ID 1271145797433557023 not found.")
|
| 120 |
except discord.HTTPException as e:
|
| 121 |
+
print(f"Failed to fetch message with ID 1271145797433557023: {e}")
|
| 122 |
+
|
| 123 |
+
"""
|
| 124 |
+
|
| 125 |
|
| 126 |
|
| 127 |
"""import data from google sheets -> HF Space df (doesn't make API call this way, as it's read-only)"""
|