Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Bot

Prerequisites

Install

git clone https://github.com/linksplatform/Bot
cd Bot/csharp/Bot
dotnet restore

Prepare

For the bot to work, you need to get a token. You can do this here: https://github.com/settings/tokens/new.

Synopsis

dotnet run NICKNAME TOKEN APP_NAME [LINKS_DB] [FILE_SET_NAME] [MINIMUM_INTERACTION_INTERVAL]

Parameters

  1. NICKNAME - A username.
  2. TOKEN - A GitHub access token.
  3. A name of your GitHub App.
  4. Path to a database file. Default: db.links
  5. File set name. Default: HelloWorldSet.

Example

dotnet run MyNickname ghp_123 MyAppName db.links HelloWorldSet

Quick run by using sh script run.sh:

./run.sh NICKNAME TOKEN APP_NAME