15 lines
345 B
JavaScript
15 lines
345 B
JavaScript
|
|
const bot = require('bbot');
|
|
|
|
bot.global.text({
|
|
contains: ['facebook', 'google', 'amazon', 'apple', 'microsoft']
|
|
}, (b) => {
|
|
b.respondVia('react', ':hear_no_evil:');
|
|
}, {
|
|
id: 'gafam-react'
|
|
});
|
|
|
|
bot.global.text(/pe?tit? globe/i, (b) => b.respond('![pti globe](https://eye.mose.fr/2019-07-31-21-50_grab.png)'), {
|
|
id: 'ptiglobe-direct'
|
|
})
|