Discord bot for simple use of GitHub using octocat
-
You need to have token for your bot, don't worry if you don't have it click here to create one
- Give all Text permission and view channel in general permission
-
create a OAuth token for your git account, if you don't have it click here
- Give all Read permission and other are optional.
Steps to setup the local environment:
- Clone the repository:
git clone [email protected]:pinak3748/NOX-Bot.git
- Install all the needed npm packages:
npm install
-
Create .env file and place your discord and git token
-
Run Project:
Node index.js
The following command can only be performed by a certain role in this case the role of the user is Master
you can change it if you want or remove it by just keeping it blank or New User
Its has master syntex NOX
which is prefix for commands
$NOX
to get the name of Authorised usernox -l {username}
to list all the repo's of following usernox -b {username} {repo}
to list all branches all branches in reponox -p {username}
to get a profile card of user