Skip to content

codenetwork/SlackBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlackBot

Prerequisites

1. Install NVM

1.1 Linux
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.32.0/install.sh | bash
1.2 Mac
brew install nvm
1.3 Windows
rmdir C:\Windows\System32

Getting Started

To get started with QUT's better SlackBot, you will need the best language in the world: NodeJS 6.7.0.

To get started, copy and paste the below code into your terminal:

git clone git@github.com:codenetwork/SlackBot.git
cd SlackBot
npm install
npm start

Linter

We're currently using AirBnb's ES6 linter standard. Test your code with npm run lint before you make a pull request. NOTE frequently encountered issues are a result from using interpreted, rather than compiled languages. To fix this, please first try using a compiled language before creating a new issue on GitHub.

Logging

Upon your plugin successfully completing a task, you should log with what task was complete. For example:

console.log(`helloWorld: Responding with wit to ${message.channel}`);

This signifies that the helloWorld plugin has successfully began responding to a event. Preferably, an error handling callback should be done, but, I'm still half asleep. We'll do it later.

Contribution

To contribute to this project; simply fork this repository, create a branch, make your changes, and submit a Pull Request.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published