Skip to content

Commit

Permalink
Bot Updates (#118)
Browse files Browse the repository at this point in the history
* Merge main into staging (#109)

* implemented chaoss africa keyword triggered DM

Signed-off-by: Precious Abubakar <[email protected]>

* fixed chaoss-africa DM bugs

Signed-off-by: Precious Abubakar <[email protected]>

* create new component-joinChaossAfrica, that sends message to newcomers

Signed-off-by: Chinwendu Enyinna <[email protected]>

* Implemented Feedback Corrections

Signed-off-by: Chinwendu Enyinna <[email protected]>

* fix module import error

Signed-off-by: Precious Abubakar <[email protected]>

* bug report template

Signed-off-by: Precious Abubakar <[email protected]>

* bug report edit

Signed-off-by: Precious Abubakar <[email protected]>

* bug report update

Signed-off-by: Precious Abubakar <[email protected]>

* feature request template, updated bug report template

Signed-off-by: Precious Abubakar <[email protected]>

* PR template

Signed-off-by: Precious Abubakar <[email protected]>

* fixes #42

Signed-off-by: meetagrawal09 <[email protected]>

* Replaced CHAOSS Handbook Old Links with The New Link Signed-off-by: Victoria Udofort [email protected]

Signed-off-by: sloaneee <[email protected]>

* minor(handbook link update)

Signed-off-by: Precious Abubakar <[email protected]>

* Turned off Outreachy Prompt when status is not true

Signed-off-by: Parth Nanda <[email protected]>

* Delete CODE_OF_CONDUCT.md

Signed-off-by: Matt Germonprez <[email protected]>

* Issue 63: Updating Code of Conduct link to point at https://github.com/chaoss/.github/blob/main/CODE_OF_CONDUCT.md

Signed-off-by: viren-01 <[email protected]>

* Fix: fix broken links by replacing with updated links in actionResponse.js   Signed-off-by: Adeyinka Oresanya [email protected]

Signed-off-by: AdeyinkaOresanya <[email protected]>

* Chore: replace 'Participate page'  with 'Getting Started page' in actionResponse.js   Signed-off-by: Adeyinka Oresanya [email protected]

Signed-off-by: AdeyinkaOresanya <[email protected]>

* Fix: fix broken links by replacing with updated links in actionResponse.js   Signed-off-by: Adeyinka Oresanya [email protected]

Signed-off-by: AdeyinkaOresanya <[email protected]>
Signed-off-by: Omokiti <[email protected]>

* Chore: replace 'Participate page'  with 'Getting Started page' in actionResponse.js   Signed-off-by: Adeyinka Oresanya [email protected]

Signed-off-by: AdeyinkaOresanya <[email protected]>
Signed-off-by: Omokiti <[email protected]>

* feat:Add FAQs

Signed-off-by: Omokiti <[email protected]>

* feat:Add FAQs item

Signed-off-by: Omokiti <[email protected]>

* fix:link the newcomers channel on slack

Signed-off-by: Omokiti <[email protected]>

* [Feature]:Translation Files For French and Portuguese

* Signed-off-by: Busayo Ojo <[email protected]>

Updated translation folders

* Signed off by Busayo Ojo [email protected]

* Created readme.md file

* Update Readme.md

Signed off by Busayo Ojo [email protected]

* Revert "Update Readme.md"

This reverts commit 5131f8f.

* Update CONTRIBUTING.md

* Updated Readme file

Signed-off-by: Busayo Ojo <[email protected]>

* set up updates

Signed-off-by: peculiaruc <[email protected]>

set up update

Signed-off-by: peculiaruc <[email protected]>

* Signed-off-by: peculiaruc <[email protected]>

Setup update

Signed-off-by: peculiaruc <[email protected]>

* Set up update

Signed-off-by: peculiaruc <[email protected]>

* Set up update

Signed-off-by: peculiaruc <[email protected]>

update

Signed-off-by: peculiaruc <[email protected]>

* Update SETUP.md

* Updated Community Resources

Signed-off-by: Busayo Ojo <[email protected]>

* Merged Community and Technical Resource into one

Signed-off-by: Busayo Ojo <[email protected]>

* translating the Portuguese basic information page of Getting Started with Bolt For Javascript

Signed-off-by: Elisa Capololo <[email protected]>

* translating the Introduction to Bolt for JavaScript guide into Portuguese

Signed-off-by: Elisa Capololo <[email protected]>

* translation of the Wiki home page into Portuguese

Signed-off-by: Elisa Capololo <[email protected]>

* translating the contribution guide into Portuguese

Signed-off-by: Elisa Capololo <[email protected]>

* addressing comments for change

Signed-off-by: Elisa Capololo <[email protected]>

* adding changes based on comments

Signed-off-by: Elisa Capololo <[email protected]>

* Contributing to the wiki (#99)

* fixing home issue

Signed-off-by: Elisa Capololo <[email protected]>

* additional content contributing to the wiki

Signed-off-by: Elisa Capololo <[email protected]>

---------

Signed-off-by: Elisa Capololo <[email protected]>

* Update actionResponses.js (#106)

We currently link to an old version of the community handbook, so this PR updates that link. Thanks!

Signed-off-by: Elizabeth Barron <[email protected]>

* fix: update dependencies (#108)

Signed-off-by: Precious Abubakar <[email protected]>

---------

Signed-off-by: Precious Abubakar <[email protected]>
Signed-off-by: Chinwendu Enyinna <[email protected]>
Signed-off-by: meetagrawal09 <[email protected]>
Signed-off-by: sloaneee <[email protected]>
Signed-off-by: Parth Nanda <[email protected]>
Signed-off-by: Matt Germonprez <[email protected]>
Signed-off-by: viren-01 <[email protected]>
Signed-off-by: AdeyinkaOresanya <[email protected]>
Signed-off-by: Omokiti <[email protected]>
Signed-off-by: Busayo Ojo <[email protected]>
Signed-off-by: peculiaruc <[email protected]>
Signed-off-by: Elisa Capololo <[email protected]>
Signed-off-by: Elizabeth Barron <[email protected]>
Co-authored-by: Iyimide <[email protected]>
Co-authored-by: Chinwendu Enyinna <[email protected]>
Co-authored-by: meetagrawal09 <[email protected]>
Co-authored-by: sloaneee <[email protected]>
Co-authored-by: Parth Nanda <[email protected]>
Co-authored-by: Matt Germonprez <[email protected]>
Co-authored-by: viren-01 <[email protected]>
Co-authored-by: AdeyinkaOresanya <[email protected]>
Co-authored-by: Omokiti <[email protected]>
Co-authored-by: Busayo Ojo <[email protected]>
Co-authored-by: peculiaruc <[email protected]>
Co-authored-by: Elisa Capololo <[email protected]>
Co-authored-by: Elisa Capololo <[email protected]>
Co-authored-by: Elizabeth Barron <[email protected]>

* Adding an extra Step to choose Scratch Option.  (#110)

* Update SETUP.md

Signed-off-by: Isha Errande <[email protected]>

* Update SETUP.md

Signed-off-by: Isha Errande <[email protected]>

* Update SETUP.md

Signed-off-by: Isha Errande <[email protected]>

* Update SETUP.md

Signed-off-by: Isha Errande <[email protected]>

* Update SETUP.md

Signed-off-by: Isha Errande <[email protected]>

* Update SETUP.md

Signed-off-by: Isha Errande <[email protected]>

* Update SETUP.md

Signed-off-by: Isha Errande <[email protected]>

* Update SETUP.md

Added more images under setting up events, 

Signed-off-by: Isha Errande <[email protected]>

---------

Signed-off-by: Isha Errande <[email protected]>

* Update SETUP.md

Signed-off-by: Precious Abubakar <[email protected]>

* Translate the Event Subscription Page into portuguese (#102)

Signed-off-by: Sebastião Sukuakueche <[email protected]>

* Merge branch 'Translation-Contributing-md-pt' of https://github.com/Francisco-dos-Santos/chaoss-slack-bot into Francisco-dos-Santos/Translation-Contributing-md-pt (#111)

Co-authored-by: Francisco-dos-Santos <[email protected]>

* Translation basic information pt (#92)

* Translated the Wiki Basic Information Page into [Portuguese]


- Portuguese is a Romance language originating from the Iberian Peninsula, widely spoken in Portugal, Brazil and several other nations. It is known for its regional diversity and rich history. "[Portuguese]"


# Team Debugers
#85
@aoscode

* Update Basic Information.md

* Updated Community Resources

Signed-off-by: Busayo Ojo <[email protected]>
Signed-off-by: sombo20 <[email protected]>

* Merged Community and Technical Resource into one

Signed-off-by: Busayo Ojo <[email protected]>
Signed-off-by: sombo20 <[email protected]>

* Translated the Wiki Basic Information Page into [Portuguese]


- Portuguese is a Romance language originating from the Iberian Peninsula, widely spoken in Portugal, Brazil and several other nations. It is known for its regional diversity and rich history. "[Portuguese]"


# Team Debugers
#85
@aoscode

Signed-off-by: sombo20 <[email protected]>

* Update Basic Information.md

Signed-off-by: sombo20 <[email protected]>

---------

Signed-off-by: Busayo Ojo <[email protected]>
Signed-off-by: sombo20 <[email protected]>
Signed-off-by: Precious Abubakar <[email protected]>
Co-authored-by: Busayo Ojo <[email protected]>
Co-authored-by: Precious Abubakar <[email protected]>

* Update Event Subscriptions.md

Signed-off-by: Precious Abubakar <[email protected]>

* Edit propose change (#105)

* fixing home issue

Signed-off-by: Elisa Capololo <[email protected]>

* additional content contributing to the wiki

Signed-off-by: Elisa Capololo <[email protected]>

* update and propose changes in contributing file

Signed-off-by: Elisa Capololo <[email protected]>

* add signoff

Signed-off-by: Elisa Capololo <[email protected]>

* add signoff and update the branch

Signed-off-by: Elisa Capololo <[email protected]>

* restore the other section

Signed-off-by: Elisa Capololo <[email protected]>

* update the branch with the latest changes

Signed-off-by: Elisa Capololo <[email protected]>

* update contributing to the wiki section

Signed-off-by: Elisa Capololo <[email protected]>

---------

Signed-off-by: Elisa Capololo <[email protected]>

* Update README.md (#113)

Make the links to the contributing.md and code of conduct relative

Signed-off-by: Precious Abubakar <[email protected]>

* Update CONTRIBUTING.md

Signed-off-by: Precious Abubakar <[email protected]>

* Update CONTRIBUTING.md

Signed-off-by: Precious Abubakar <[email protected]>

* ft: adds regional chapters button (#117)

refactor: moves channel ids and constants into config

Signed-off-by: Precious Abubakar <[email protected]>

---------

Signed-off-by: Precious Abubakar <[email protected]>
Signed-off-by: Chinwendu Enyinna <[email protected]>
Signed-off-by: meetagrawal09 <[email protected]>
Signed-off-by: sloaneee <[email protected]>
Signed-off-by: Parth Nanda <[email protected]>
Signed-off-by: Matt Germonprez <[email protected]>
Signed-off-by: viren-01 <[email protected]>
Signed-off-by: AdeyinkaOresanya <[email protected]>
Signed-off-by: Omokiti <[email protected]>
Signed-off-by: Busayo Ojo <[email protected]>
Signed-off-by: peculiaruc <[email protected]>
Signed-off-by: Elisa Capololo <[email protected]>
Signed-off-by: Elizabeth Barron <[email protected]>
Signed-off-by: Isha Errande <[email protected]>
Signed-off-by: Sebastião Sukuakueche <[email protected]>
Signed-off-by: sombo20 <[email protected]>
Co-authored-by: Iyimide <[email protected]>
Co-authored-by: Chinwendu Enyinna <[email protected]>
Co-authored-by: meetagrawal09 <[email protected]>
Co-authored-by: sloaneee <[email protected]>
Co-authored-by: Parth Nanda <[email protected]>
Co-authored-by: Matt Germonprez <[email protected]>
Co-authored-by: viren-01 <[email protected]>
Co-authored-by: AdeyinkaOresanya <[email protected]>
Co-authored-by: Omokiti <[email protected]>
Co-authored-by: Busayo Ojo <[email protected]>
Co-authored-by: peculiaruc <[email protected]>
Co-authored-by: Elisa Capololo <[email protected]>
Co-authored-by: Elisa Capololo <[email protected]>
Co-authored-by: Elizabeth Barron <[email protected]>
Co-authored-by: Isha Errande <[email protected]>
Co-authored-by: Sebastião Sukuakueche <[email protected]>
Co-authored-by: Francisco-dos-Santos <[email protected]>
Co-authored-by: Vicente Sombo <[email protected]>
  • Loading branch information
19 people authored Oct 22, 2024
1 parent d203b38 commit 7c7c0d1
Show file tree
Hide file tree
Showing 16 changed files with 342 additions and 217 deletions.
72 changes: 34 additions & 38 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,51 +91,47 @@ $ git push origin master
```

# Contributing to the wiki
## Adding or editing wiki pages

You can add and edit wiki pages directly on GitHub or locally using the command line.

Wikis are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see [GitHub’s plans.](https://docs.github.com/en/get-started/learning-about-github/githubs-plans)

## Adding wiki pages
1. On GitHub.com, navigate to the main page of the repository.
2. Under your repository name, click **Wiki**.
![wiki](https://docs.github.com/assets/cb-50195/mw-1440/images/help/wiki/wiki-menu-link.webp)
3. In the upper-right corner of the wiki, click **New Page**.
4. Optionally, to write in a format other than Markdown, use the "Edit mode" dropdown to choose a different format.
![Edit mode](https://docs.github.com/assets/cb-109300/mw-1440/images/help/wiki/wiki-edit-mode-dropdown.webp)
5. Use the text editor to add your page's content.
6. In the "Edit message" field, type a commit message describing the new file you’re adding.
7. To commit your changes to the wiki, click Save Page.

## Editing wiki pages
1. On GitHub.com, navigate to the main page of the repository.
2. Under your repository name, click **Wiki**.
![wiki](https://docs.github.com/assets/cb-50195/mw-1440/images/help/wiki/wiki-menu-link.webp)
3. Using the wiki sidebar on the right, navigate to the page you want to change. In the upper-right corner of the page, click **Edit**.
4. Use the text editor to edit the page's content.
5. In the "Edit message" field, type a commit message describing the new file you’re adding.
6. To commit your changes to the wiki, click **Save Page**.


## Adding or editing wiki pages locally
Wikis are part of Git repositories, so you can make changes locally and push them to your repository using a Git workflow.
- Fork the repo
- Navigate to https://github.com/<YOUR_USERNAME>/chaoss-slack-bot/wiki
- Hit ```Create the first page``` (You may get an error, that's okay)
- Navigate to https://github.com/<YOUR_USERNAME>/chaoss-slack-bot/wiki again and you will see the wiki updated.
- Clone the forked repo
```
git clone https://github.com/<YOUR_USERNAME>/chaoss-slack-bot/wiki.git
```
- Add the upstream:
```
git remote add upstream https://github.com/chaoss/chaoss-slack-bot.wiki.git
```
- Fetch the latest updates from the staging branch:
```
git fetch upstream staging
```

### Cloning wikis to your computer
Every wiki provides an easy way to clone its contents down to your computer. Once you've created an initial page on GitHub, you can clone the repository to your computer with the provided URL:
### Keeping your fork in sync
```
git checkout staging
git fetch upstream staging
git merge upstream/staging
git push origin staging
```

### Submitting changes to your fork
```
$ git clone https://github.com/chaoss/chaoss-slack-bot.wiki.git
# Clones the wiki locally
git checkout staging
git add .
git commit -s -m "descriptive commit message"
git push origin staging
```
Once you have cloned the wiki, you can add new files, edit existing ones, and commit your changes. You and your collaborators can create branches when working on wikis, but only changes pushed to the default branch will be made live and available to your readers.

## About wiki
The filename determines the title of your wiki page, and the file extension determines how your wiki content is rendered.
### Submitting changes to the main repository
When you're ready to submit, you need to [open an issue](https://github.com/chaoss/chaoss-slack-bot/issues) and provide the following:
- Link to your repository.
- Description to the change you've done.

Wikis use our [open-source Markup library](https://github.com/github/markup) to convert the markup, and it determines which converter to use by a file's extension. For example, if you name a file foo.md or foo.markdown, wiki will use the Markdown converter, while a file named foo.textile will use the Textile converter.
N/B: If you're fixing an existing issue, you don't need to open a new one. Just submit your changes there.

Don't use the following characters in your wiki page's titles: ```\ / : * ? " < > |```. Users on certain operating systems won't be able to work with filenames containing these characters. Be sure to write your content using a markup language that matches the extension, or your content won't render properly.

# Community Resources
## CHAOSS
Expand All @@ -159,7 +155,7 @@ Don't use the following characters in your wiki page's titles: ```\ / : * ? " <
- [A Complete Guide to DCO for Open Source Developers](https://www.secondstate.io/articles/dco/)

## CHAOSS Slack Bot
- [CHAOSS Slack Bot documentation](https://docs.google.com/document/d/1NJd-nNKUNb3Q0lRb5cfmUU8kpRcYGjh-vPqpk4CCvic/edit?usp=sharing)
- [CHAOSS Slack Bot documentation](https://github.com/chaoss/chaoss-slack-bot/wiki)

## Slack API & Bolt for JavaScript
- [Getting started with Bolt for JavaScript](https://slack.dev/bolt-js/tutorial/getting-started)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ For more information about this project, read the [CHAOSS Slack Bot Docs](https:
- Can send a DM to all users in the workspace, triggered by the message “intro-CHAOSS”.

## Getting Started
If you're interested in cloning our bot for your Slack workspace, you can follow the steps in the [CONTRIBUTING.md](https://github.com/chaoss/chaoss-slack-bot/blob/main/CONTRIBUTING.md) to setup, and [https://slack.dev/bolt-js/deployments/heroku](https://slack.dev/bolt-js/deployments/heroku) or [https://slack.dev/bolt-js/deployments/aws-lambda](https://slack.dev/bolt-js/deployments/aws-lambda) to deploy.
If you're interested in cloning our bot for your Slack workspace, you can follow the steps in the [CONTRIBUTING.md](/CONTRIBUTING.md) to setup, and [https://slack.dev/bolt-js/deployments/heroku](https://slack.dev/bolt-js/deployments/heroku) or [https://slack.dev/bolt-js/deployments/aws-lambda](https://slack.dev/bolt-js/deployments/aws-lambda) to deploy.

## Contributing

To contribute to CHAOSS Slack bot, please follow the guidelines found in our [CONTRIBUTING.md](https://github.com/chaoss/chaoss-slack-bot/blob/main/CONTRIBUTING.md) and our [Code of Conduct](https://github.com/chaoss/.github/blob/main/CODE_OF_CONDUCT.md). We love pull requests! We welcome contributions from everyone, whether it's your 1st or your 100th. If you get stuck, please feel free to [ask for help](https://github.com/chaoss/chaoss-slack-bot/issues/new)!
To contribute to CHAOSS Slack bot, please follow the guidelines found in our [CONTRIBUTING.md](/CONTRIBUTING.md) and our [Code of Conduct](/CODE_OF_CONDUCT.md). We love pull requests! We welcome contributions from everyone, whether it's your 1st or your 100th. If you get stuck, please feel free to [ask for help](https://github.com/chaoss/chaoss-slack-bot/issues/new)!
24 changes: 16 additions & 8 deletions SETUP.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# Create an App
# Getting Started With Bolt for JavaScript
The CHAOSS Slack Bot is built on the [Bolt for JavaScript](https://slack.dev/bolt-js/tutorial/getting-started#setting-up-your-project) framework. You can get started by following the guide below to set up a new Slack app using socket mode.

## Create an App

* First, we recommend [creating a new workspace](https://slack.com/get-started#create) where you won’t disrupt real work getting done.

* [Create a Slack app](https://api.slack.com/apps/new) and install it to the new workspace you created.
* To create a Slack app and install it in your workspace, click [here](https://api.slack.com/apps/new).
* You should see a modal with two options for configuration. Choose the `From scratch` option.
![image](https://github.com/ise8933/chaoss-slack-bot/assets/90360951/e085ea5b-b98d-47cc-8c2d-c1563fddf88b)

* Click on the `Create App` button to go to the **Basic Information** page.
![](https://slack.dev/bolt-js/assets/basic-information-page.png)

# Tokens and installing app
## Tokens and installing app

* Navigate to the **OAuth & Permissions** on the left sidebar.
![image](https://github.com/peculiaruc/peculiaruc.github.io/assets/35475543/07be85b8-7b28-4691-aab6-7d847b35c18e)
Expand Down Expand Up @@ -36,7 +41,7 @@ A comprehensive list of permission scopes is available at [api.slack.com/scopes]

> Treat your token like a password and keep it safe. Your app uses it to post and retrieve information from Slack workspaces.
# Setting up your project
## Setting up your project

* Navigate to your project folder

Expand Down Expand Up @@ -67,20 +72,23 @@ $ cd chaoss-slack-bot
* Copy the content of the [.env.example](https://github.com/chaoss/chaoss-slack-bot/blob/main/.env.example) file and paste in the new .env file you created.
* Insert your tokens into the quotes. Make sure you include the .env file in your [`.gitignore`](https://www.delftstack.com/howto/git/add-file-to-gitignore/) file, to avoid exposing your secret keys.

# Setting up events
## Setting up events

To listen for events happening in a Slack workspace (like when a message is posted or when a reaction is posted to a message) you’ll use the Events API to subscribe to event types.
CHAOSS Slack Bot uses Socket Mode.

* Head to your app’s configuration page (click on the app from your [app management page](https://api.slack.com/apps)). Navigate to Socket Mode on the left side menu and toggle to enable.

![image](https://github.com/ise8933/chaoss-slack-bot/assets/90360951/56a53067-36ef-456c-aa72-e3287a3267f7)

* Go to **Basic Information** and scroll down under the App Token section and click **Generate Token and Scopes** to generate an app token. Add the `connections:write` scope to this token and save the generated xapp token.

![image](https://github.com/ise8933/chaoss-slack-bot/assets/90360951/36471450-4560-4c81-8bdb-06c32fd83843)

* Scroll down to **Subscribe to Bot Events** and select the events you want your bot to listen to. CHAOSS Slack Bot currently subcribes to [these events](https://docs.google.com/document/d/1NJd-nNKUNb3Q0lRb5cfmUU8kpRcYGjh-vPqpk4CCvic/edit#heading=h.vaz3oyzblsm7). The other available events are documented at [api.slack.com/events](api.slack.com/events).

* Follow the rest of the instructions in the [CONTRIBUTING.md](https://github.com/chaoss/chaoss-slack-bot/blob/main/CONTRIBUTING.md).

# Adding New Function
## Adding New Function

After creating your app, you will see the options to add new function to your app.

Expand All @@ -90,6 +98,6 @@ After creating your app, you will see the options to add new function to your ap
* Example:
![image](https://github.com/peculiaruc/peculiaruc.github.io/assets/35475543/3462851d-7ccd-476e-9c3d-f0dcaa7d7458)

# Attribution
## Attribution

Adapted from [Getting started with Bolt for JavaScript](https://slack.dev/bolt-js/tutorial/getting-started).
28 changes: 14 additions & 14 deletions Translations/Portuguese/Basic Information.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# [Informação básica](https://github.com/chaoss/chaoss-slack-bot/wiki/Informações-básica)

[Basic Information](https://github.com/chaoss/chaoss-slack-bot/wiki/Basic-Information)
### [Funções do bot](https://github.com/chaoss/chaoss-slack-bot/wiki/Informa%C3%A7%C3%B5es-b%C3%A1sica#funcionalidades-do-bot)

> ### Informações básica
- Quando um usuário se junta à equipe, envia uma mensagem em um canal pré-definido pedindo que se apresentem.

> #### Funcionalidades do bot
>
> - Quando um usuário ingressa na equipe, envia uma mensagem em um canal predefinido solicitando que se apresente.
> - Quando um usuário ingressa na equipe, envia uma mensagem interativa via DM para determinar como pretende contribuir e fornecer os recursos relevantes.
> - Quando um usuário digita “newbie” em um canal ou diretamente para o bot, ele envia uma mensagem interativa mostrando como você pode contribuir.
> - Quando um usuário digita “outreachy” em um canal ou diretamente para o bot, ele responde com informações sobre Outreachy.
> - Responde quando um usuário diz "hello", "hey" or "hi".
> - Pode enviar um DM para todos os usuários do espaço de trabalho, acionado pela mensagem “intro-CHAOSS”.
- Quando um usuário se junta à equipe, envia uma mensagem interativa via DM para determinar como eles pretendem contribuir e fornecer os recursos relevantes.

> #### Tokens no nível do aplicativo
- Quando um usuário digita "newbie" em um canal ou diretamente para o bot, envia uma mensagem interativa mostrando maneiras de contribuir.

> |Nome do Token | Escopo |
> |--------------|---------------|
> |welcome-token | connections:write|
- Quando um usuário digita "outreachy" em um canal ou diretamente para o bot, responde com informações sobre o Outreachy.

- Responde quando um usuário diz "Ola", "ei" ou "Oi".

- Pode enviar uma DM para todos os usuários no espaço de trabalho, acionada pela mensagem "intro-CHAOSS".

### [Tokens no nível do aplicativo](https://github.com/chaoss/chaoss-slack-bot/wiki/Informa%C3%A7%C3%B5es-b%C3%A1sica#tokens-no-n%C3%ADvel-do-aplicativo)

| Nome do Token | Escopo |
| ---------------- | ----------------- |
| token de boas-vindas | conexões:escrever |
39 changes: 37 additions & 2 deletions Translations/Portuguese/Event Subscriptions.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,37 @@
This is the link to the Event Subscriptions to be translated.
[Event Subscriptions](https://github.com/chaoss/chaoss-slack-bot/wiki/Bot-Token-Scopes-&-Event-Subscriptions)
# [Escopos de token do bot](https://github.com/chaoss/chaoss-slack-bot/wiki/Escopos-de-token-do-bot-e-Assinaturas-de-eventos#Escopos-de-token-do-bot)

Escopos que controlam o que seu aplicativo pode acessar. Esta é uma lista de escopos habilitados
para bot CHAOSS Slack. Uma lista abrangente de escopos de permissão está disponível em [api.slack.com/scopes.](https://api.slack.com/scopes)

| OAuth de Escopo | Descrição |
| ------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| [app_mentions:read](https://api.slack.com/scopes/app_mentions:read) | Visualize mensagens que mencionam diretamente @welcometochaoss nas conversas em que o aplicativo está |
| [channels:history](https://api.slack.com/scopes/channels:history) | Veja mensagens e outros conteúdos em canais públicos aos quais o Welcome-to-CHAOSS foi adicionado |
| [channels:join](https://api.slack.com/scopes/channels:join) | Junte-se a canais públicos em um workspace |
| [channels:read](https://api.slack.com/scopes/channels:read) | Visualize informações básicas sobre canais públicos em um workspace |
| [chat:write](https://api.slack.com/scopes/chat:write) | Envie mensagens como @welcometochaoss |
| [chat:write.customize](https://api.slack.com/scopes/chat:write.customize) | Envie mensagens como @welcometochaoss com nome de usuário e avatar personalizados |
| [chat:write.public](https://api.slack.com/scopes/chat:write.public) | Envie mensagens para canais que @welcometochaoss não é membro |
| [groups:history](https://api.slack.com/scopes/groups:history) | Veja mensagens e outros conteúdos em canais privados aos quais o Welcome-to-CHAOSS foi adicionado |
| [groups:read](https://api.slack.com/scopes/groups:read) | Veja informações básicas sobre canais privados aos quais o Welcome-to-CHAOSS foi adicionado |
| [im:history](https://api.slack.com/scopes/im:history) | Veja mensagens e outros conteúdos em mensagens diretas às quais o Welcome-to-CHAOSS foi adicionado |
| [im:read](https://api.slack.com/scopes/im:read) | Veja informações básicas sobre mensagens diretas às quais o Welcome-to-CHAOSS foi adicionado |
| [im:write](https://api.slack.com/scopes/im:write) | Comece mensagens diretas com pessoas |
| [incoming-webhook](https://api.slack.com/scopes/incoming-webhook) | Publique mensagens em canais específicos no Slack |
| [mpim:history](https://api.slack.com/scopes/mpim:history) | Veja mensagens e outros conteúdos em mensagens diretas de grupo às quais o Welcome-to-CHAOSS foi adicionado |
| [mpim:write](https://api.slack.com/scopes/mpim:write) | Comece mensagens diretas em grupo com pessoas |
| [users:read](https://api.slack.com/scopes/users:read) | Veja pessoas em um espaço de trabalho |
| [users:write](https://api.slack.com/scopes/users:write) | Defina presença para boas-vindas ao CHAOSS |

# [Assinaturas de eventos](https://github.com/chaoss/chaoss-slack-bot/wiki/Escopos-de-token-do-bot-e-Assinaturas-de-eventos#Assinaturas-de-eventos)

Estes são os eventos do bot inscritos. Os outros eventos disponíveis estão documentados em [ api.slack.com/events.](https://api.slack.com/events)

| Nome do evento | Descrição | Escopo necessário |
| --------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ---------------------------- |
| [member_joined_channel](https://api.slack.com/events/member_joined_channel) | Um usuário entrou em um canal público ou privado | channels:read or groups:read |
| [message.channels](https://api.slack.com/events/message.channels) | Uma mensagem foi postada em um canal | channels:history |
| [message.groups](https://api.slack.com/events/message.groups) | Uma mensagem foi postada em um canal privado | groups:history |
| [message.im](https://api.slack.com/events/message.im) | Uma mensagem foi postada em um canal de mensagens diretas | im:history |
| [message.mpim](https://api.slack.com/events/message.mpim) | Uma mensagem foi postada em um canal de mensagem direta multipartidário | mpim:history |
| [team_join](https://api.slack.com/events/team_join) | Um novo membro se juntou | users:read |
Loading

0 comments on commit 7c7c0d1

Please sign in to comment.