Merge branch 'dev-multicanal' of https://git.p2p.legal/axiom-team/g1sms into dev-multicanal
This commit is contained in:
commit
f314b9dea3
|
@ -8,7 +8,6 @@ bot.global.text({
|
||||||
contains: ['axiom adhérent','axiom adhérents','axiom adherent','axiom adherents']
|
contains: ['axiom adhérent','axiom adhérents','axiom adherent','axiom adherents']
|
||||||
}, (b) => {
|
}, (b) => {
|
||||||
// cmd = b.message.text
|
// cmd = b.message.text
|
||||||
// roomName = b.message.user.room.name
|
|
||||||
|
|
||||||
if (b.message.user.room.type == "p") {
|
if (b.message.user.room.type == "p") {
|
||||||
roomName = b.message.user.room.name
|
roomName = b.message.user.room.name
|
||||||
|
@ -16,8 +15,6 @@ bot.global.text({
|
||||||
roomName = b.message.user.name
|
roomName = b.message.user.name
|
||||||
}
|
}
|
||||||
|
|
||||||
// b.respond("JE SUIS LA" + adminRooms.) //kopa
|
|
||||||
|
|
||||||
// if (adminRooms.indexOf(roomName) == -1) {
|
// if (adminRooms.indexOf(roomName) == -1) {
|
||||||
if (['biz-bot-admin', 'poka', 'brad.pi', '_pole_financements', '_axiom_business_plan', 'compta-axiom', 'communication', '_recrutement'].includes(roomName)) {
|
if (['biz-bot-admin', 'poka', 'brad.pi', '_pole_financements', '_axiom_business_plan', 'compta-axiom', 'communication', '_recrutement'].includes(roomName)) {
|
||||||
cmd = "adherents"
|
cmd = "adherents"
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
module.exports = (robot) =>
|
|
||||||
{
|
|
||||||
robot.respond( /aide/i, (res) =>
|
|
||||||
res.reply( `QWant est ton ami...
|
|
||||||
... Nan j'déconne, voici ce que je connais:
|
|
||||||
- *biz aide*: Affiche cette aide
|
|
||||||
- *biz liens*: Donne des liens utiles
|
|
||||||
- *index pads*: Donne le lien vers l'index de nos pads
|
|
||||||
- *membres*: Affiche le nombre de membres actuelles de la Ğ1
|
|
||||||
- *pubkey*: Affiche sa propre clé publique Ğ1
|
|
||||||
- *axiom adhérents*: Affiche les adhérents de l'association
|
|
||||||
- *axiom cagnotte*: Affiche le status de la cagnotte de l'association
|
|
||||||
- Massages Viet pour 150Ğ1
|
|
||||||
- Et bien d'autres choses, je vais pas tout te dire non plus !! :rofl:` )
|
|
||||||
)
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
module.exports = (robot) =>
|
|
||||||
{
|
|
||||||
robot.hear( /index pad/i, res=> res.send(":arrow_right: https://pad.p2p.legal/axiom_index-pads") )
|
|
||||||
robot.hear( /index des pad/i, res=> res.send(":arrow_right: https://pad.p2p.legal/axiom_index-pads") )
|
|
||||||
robot.respond( /lien/i, res=> res.send(`*Index de tous nos documents* :arrow_right: https://pad.p2p.legal/axiom_index-pads
|
|
||||||
*Site officiel de l'association Axiom-Team* :arrow_right: https://axiom-team.fr/
|
|
||||||
*Forum de l'asso axiom-team* :arrow_right: https://forum.axiom-team.fr/
|
|
||||||
*Cloud publique axiom - Ressources Agora* :arrow_right: https://cloud.p2p.legal/s/DDbKi2pqdEmixS9
|
|
||||||
*Cloud interne axiom - Nécessite un accès* :arrow_right: https://cloud.p2p.legal/f/204193`
|
|
||||||
) )
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
ids="axiom-team:tYrjD6rrfStJXBqHhzNET"
|
source ~/.adm/helloasso/ids
|
||||||
ha="https://api.helloasso.com/v3"
|
ha="https://api.helloasso.com/v3"
|
||||||
|
|
||||||
adherents() {
|
adherents() {
|
||||||
|
|
Loading…
Reference in New Issue