diff --git a/bb_scripts/axiom.js b/bb_scripts/axiom.js index 143466f..7c4f85a 100644 --- a/bb_scripts/axiom.js +++ b/bb_scripts/axiom.js @@ -8,7 +8,6 @@ bot.global.text({ contains: ['axiom adhérent','axiom adhérents','axiom adherent','axiom adherents'] }, (b) => { // cmd = b.message.text -// roomName = b.message.user.room.name if (b.message.user.room.type == "p") { roomName = b.message.user.room.name @@ -16,8 +15,6 @@ bot.global.text({ roomName = b.message.user.name } -// b.respond("JE SUIS LA" + adminRooms.) //kopa - // if (adminRooms.indexOf(roomName) == -1) { if (['biz-bot-admin', 'poka', 'brad.pi', '_pole_financements', '_axiom_business_plan', 'compta-axiom', 'communication', '_recrutement'].includes(roomName)) { cmd = "adherents" diff --git a/bb_scripts/shell/helloasso.sh b/bb_scripts/shell/helloasso.sh index 19a7941..9de454d 100755 --- a/bb_scripts/shell/helloasso.sh +++ b/bb_scripts/shell/helloasso.sh @@ -1,6 +1,6 @@ #!/bin/bash -ids="axiom-team:tYrjD6rrfStJXBqHhzNET" +source ~/.adm/helloasso/ids ha="https://api.helloasso.com/v3" adherents() {