Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -24,6 +24,8 @@ def convert_to_timezone(dt, tz):
|
|
24 |
DISCORD_TOKEN = os.environ.get("DISCORD_TOKEN", None)
|
25 |
intents = discord.Intents.all()
|
26 |
bot = commands.Bot(command_prefix='!', intents=intents)
|
|
|
|
|
27 |
test = Client("https://lunarflu-bert-test.hf.space/--replicas/58fjw/")
|
28 |
|
29 |
#rate_limiter = RateLimiter(max_calls=10, period=60) # needs testing
|
@@ -387,7 +389,7 @@ async def on_ready():
|
|
387 |
print('Logged on as', bot.user)
|
388 |
log_channel = bot.get_channel(1036960509586587689)
|
389 |
print(log_channel)
|
390 |
-
|
391 |
|
392 |
|
393 |
def run_bot():
|
|
|
24 |
DISCORD_TOKEN = os.environ.get("DISCORD_TOKEN", None)
|
25 |
intents = discord.Intents.all()
|
26 |
bot = commands.Bot(command_prefix='!', intents=intents)
|
27 |
+
bot.log_channel = bot.get_channel(1036960509586587689)
|
28 |
+
print(bot.log_channel)
|
29 |
test = Client("https://lunarflu-bert-test.hf.space/--replicas/58fjw/")
|
30 |
|
31 |
#rate_limiter = RateLimiter(max_calls=10, period=60) # needs testing
|
|
|
389 |
print('Logged on as', bot.user)
|
390 |
log_channel = bot.get_channel(1036960509586587689)
|
391 |
print(log_channel)
|
392 |
+
|
393 |
|
394 |
|
395 |
def run_bot():
|