Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,15 +11,15 @@ SLACK_TOKEN = os.getenv('SIGNING_SECRET')
|
|
| 11 |
SLACK_CHANNEL_ID = os.getenv('CHANNEL_ID')
|
| 12 |
|
| 13 |
TRIGGERS = {
|
| 14 |
-
"
|
| 15 |
-
"
|
|
|
|
| 16 |
}
|
| 17 |
|
| 18 |
intents = discord.Intents.all()
|
| 19 |
intents.messages = True
|
| 20 |
bot = commands.Bot(command_prefix='!', intents=intents)
|
| 21 |
|
| 22 |
-
# Set up the Slack client
|
| 23 |
slack_client = WebClient(token=SLACK_TOKEN)
|
| 24 |
|
| 25 |
@bot.event
|
|
|
|
| 11 |
SLACK_CHANNEL_ID = os.getenv('CHANNEL_ID')
|
| 12 |
|
| 13 |
TRIGGERS = {
|
| 14 |
+
"discord bot": "<@U061W3NRFFA>",
|
| 15 |
+
"setfit": "tom aarsen",
|
| 16 |
+
"cv": "merve",
|
| 17 |
}
|
| 18 |
|
| 19 |
intents = discord.Intents.all()
|
| 20 |
intents.messages = True
|
| 21 |
bot = commands.Bot(command_prefix='!', intents=intents)
|
| 22 |
|
|
|
|
| 23 |
slack_client = WebClient(token=SLACK_TOKEN)
|
| 24 |
|
| 25 |
@bot.event
|