lunarflu HF staff commited on
Commit
9fb328b
1 Parent(s): ded22d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -44,6 +44,9 @@ api = HfApi()
44
  async def on_ready():
45
  print(f'Logged in as {bot.user.name}')
46
  print(f"XP_PER_MESSAGE: {XP_PER_MESSAGE}")
 
 
 
47
 
48
 
49
  def calculate_level(xp):
@@ -222,6 +225,13 @@ async def on_reaction_add(reaction, user):
222
  except Exception as e:
223
  print(f"on_reaction_add Error: {e}")
224
 
 
 
 
 
 
 
 
225
 
226
  """"""
227
  DISCORD_TOKEN = os.environ.get("DISCORD_TOKEN", None)
 
44
  async def on_ready():
45
  print(f'Logged in as {bot.user.name}')
46
  print(f"XP_PER_MESSAGE: {XP_PER_MESSAGE}")
47
+ channel_id = 1197143964994773023
48
+ channel = bot.get_channel(channel_id)
49
+ await channel.send("test")
50
 
51
 
52
  def calculate_level(xp):
 
225
  except Exception as e:
226
  print(f"on_reaction_add Error: {e}")
227
 
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
 
236
  """"""
237
  DISCORD_TOKEN = os.environ.get("DISCORD_TOKEN", None)