LeaderboardBot for Telegram
A leaderboard bot built for Flutter Kerala Telegram group's weekly challenge using Teledart Telegram API Wrapper written in Dart 💙
Command | Action |
---|---|
/panineerThaliAane |
Kind of like Hello World but with an elephant and rose water |
- Clone the bot locally
git clone https://github.com/FlutterKerala/LeaderBoardBot.git
- Navigate to bin/ and open constants.dart in your editor of choice
class Constants {
static String botKey = 'YOUR API KEY HERE'; // Bot token is moved to env variable [BOTTOKEN]
static List<int> sudoUsers = ['Put your telegram user id'];
}
- In terminal run
dart bin/main.dart