coding-in-community / alice Goto Github PK
View Code? Open in Web Editor NEWAlice is a whatsapp bot made to manage coding groups.
Alice is a whatsapp bot made to manage coding groups.
The /alice/future/plans.txt file has some plans to be completed in future versions of Alice. This file is unnecessary since github has the "Projects" feature.
O comando !links
retorna os links para os grupos coding. Porém, alguns links necessitam serem atualizados, outros removidos e outros adicionados.
Para atualizar:
Para remover:
Para adicionar
Um comando !transcribe
onde ao marcar um aúdio o bot responde com a versão escrita doque foi falado no aúdio
Currently, the messages that must be returned to the end user are inserted directly into the code (see an example here). It is necessary to separate these strings in a .json
file. Basically, the schema for this file should look something like the following:
{
// ...
commands: {
// ...
}
}
commands
key.commands
has an object like value. The keys and values inside this object must be, respectively, the name of the correspondent command and an object with the strings.Notes:
const
it will be attributed to must be uppercased. See the following example:const STRINGS = JSON.parse(require('./strings.json'));
function sendMessageToUser() {
return STRINGS.welcomeNewUser;
}
Some of the group's links in the return of !link
command are broken or they direct to a inactive group. The Coding in taberna's invite link is missing too.
Currently, we have two web scrapers packages in the project, JSSoup and Cheerio.js. Is it needed? We need to chose one and remove the other.
Currently, We don't have any arg/kwarg to destroy all threads in !cron
command. The --killall
arg must do this.
Some new kwargs to be implemented in !search
command:
--target
-> Target site to be search in. Only results that directs to this target will be returned.
--limit
-> Limite of results to be returned. Defaults to 1.
Um comando !pastebin
em que ao prover um titulo e um texto o bot cria um pastebin temporario com essas informações. Necessário ver quais flags de configurações podem serem criadas
The !github
command aims to returns a link to the latest stable version of Alice, but it's more appropriate to !doc
command's return includes this link.
We need to use env vars in this repository to hide sensitive information like phone numbers
Currently, args
are validated separately in each command. It is necessary to separate this validation into an util function to improve code maintainability and 'clean' it.
Requirements for args to be valid have not yet been established. Give us your opinion!
O uso do comando !search
está errado. Está escrito "!cron" ao invés de "!search"
- usage: '!cron [--args] ...',
+ usage: '!search [--args] ...',
The !coin command is unusable as the classes used to identify the data in coinmarketcap have been changed.
New command to mention all group participants in a message in reply to another message.
Notes:
The following error occurs when calling !cron
command in a private chat: Cannot read property 'filter' of undefined
. This error is threw by getAdmsList
function in this file.
New command to promote users to administrator. Ex: !promote @carlos
Notes:
- src
- commands
[...]
- auth
- index.js
- session.json
- build
- index.js
- Commands.js
- Path.js
- utils
- index.js
- Parse.js
- Util.js
- Alice.js
- index.js
This is what we are thinking by now. Any suggestion? leave a comment!
New command to ban mentioned users. Ex: !ban @smith @carlos @matheus
Notes:
new command to demote users to common member. Ex: !promote @carlos
Notes:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.