Spaces:
Runtime error
Runtime error
add discord code
Browse files- app.py +1 -1
- requirements.txt +1 -1
app.py
CHANGED
@@ -21,6 +21,6 @@ async def on_message(message):
|
|
21 |
if message.content.startswith('$hello'):
|
22 |
print(message.content)
|
23 |
# await message.channel.send(model_pipe.predict([message.content]))
|
24 |
-
|
25 |
|
26 |
client.run("MTA3NjU3MDc3MDYzMDc5MTIxOA.GvxRm6.Lm7ZDPwrkmz0AqrUxkxTRXKcObCzswDMfNpCIc")
|
|
|
21 |
if message.content.startswith('$hello'):
|
22 |
print(message.content)
|
23 |
# await message.channel.send(model_pipe.predict([message.content]))
|
24 |
+
await message.channel.send('Hello')
|
25 |
|
26 |
client.run("MTA3NjU3MDc3MDYzMDc5MTIxOA.GvxRm6.Lm7ZDPwrkmz0AqrUxkxTRXKcObCzswDMfNpCIc")
|
requirements.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
discord
|
|
|
1 |
+
discord=="2.1.0"
|